nginx with fastcgi
· 296 B · Text
Brut
location /path {
include fastcgi_params;
fastcgi_pass unix:/run/fcgiwrap.sock;
fastcgi_param SCRIPT_FILENAME /path/to/file.cgi;
fastcgi_param DOCUMENT_ROOT /path/to;
fastcgi_param RANDOM_VAR random_val;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
| 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 | } |
| 9 |