diff --git a/nginx_site.conf b/nginx_site.conf new file mode 100644 index 0000000..4eb066c --- /dev/null +++ b/nginx_site.conf @@ -0,0 +1,6 @@ + location /shot.jpg { + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME /var/www/html/cgi-bin/cgi_camera.sh; + fastcgi_param QUERY_STRING $query_string; + fastcgi_pass unix:/run/fcgiwrap.socket; + } \ No newline at end of file