Dernière activité 1 week ago

nginx config to run fastCGI with fcgiwrap

nginx with fastcgi Brut
1location /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}
9