@shizobuddy: /path/to/php is usually $document_root if set properly so you come up with the following generic config: fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; @androo: instead of setting fastcgi_param in a if (in fact you can't), you can still set variables to do so. Example set $script index.php; set $path_info ""; iby spirit - Nginx Mailing List - English
Hi! On many of my vhost config files I have common lines of config including location directives, conditional if... Is it possible to have one file for those conf and then include the file in every vhost? I can include params (like fastcgi_param) but I'm not sure if location, if, ... can be included too?by spirit - How to...
Unfortunately this works great when nginx is *directly* giving a 503 code, but when used with return 503 : error_page 503 /system/maintenance.html; return 503; The custom page isn't taken into account...by spirit - Nginx Mailing List - English
anybody for this? How could I debug nginx startup/stop. The only log I can have is nginx_error and nginx_access...by spirit - How to...
It seems that the official GeoIP Module can't be set elsewhere than in the http {} directive. It would be good to have it on "virtualhost" so that we can have it enabled only for them and not for all. Seems that the GeoIP add-on (third party) supports this but hey, I prefer official ones! :)by spirit - Ideas and Feature Requests
Hi everybody! First congrats to all people involved in nginx, it's *really* powerful and the performances are just awesome. I'm running an issue when reloading nginx by sending it a HUP signal. It kills the worker processes (my sites become unavailable) and if I send again a HUP signal then workers are launched again... Any idea about this strange behavior?by spirit - How to...