Skip to content

Instantly share code, notes, and snippets.

@vidluther
Created July 29, 2012 15:49
Show Gist options
  • Save vidluther/3199643 to your computer and use it in GitHub Desktop.
Save vidluther/3199643 to your computer and use it in GitHub Desktop.
php.defaults for nginx chrooted
try_files $uri =404;
#fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_index index.php;
#fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
fastcgi_intercept_errors on;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 1200;
fastcgi_max_temp_file_size 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment