Last active 1 week ago

nginx config to run fastCGI with fcgiwrap

flocks revised this gist 1 week ago. Go to revision

No changes

flocks revised this gist 1 week ago. Go to revision

1 file changed, 8 insertions

nginx with fastcgi (file created)

@@ -0,0 +1,8 @@
1 + location /path {
2 + include fastcgi_params;
3 + fastcgi_pass unix:/run/fcgiwrap.sock;
4 + fastcgi_param SCRIPT_FILENAME /path/to/file.cgi;
5 + fastcgi_param DOCUMENT_ROOT /path/to;
6 + fastcgi_param RANDOM_VAR random_val;
7 + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
8 + }
Newer Older