Created
August 7, 2016 16:35
-
-
Save sheanhoxie/942301d406599ad71f9c4378ccbdc5c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~ \.php$ { | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
#NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini | |
include fastcgi.conf; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_intercept_errors on; | |
fastcgi_read_timeout 3000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment