Created
July 13, 2015 04:54
-
-
Save rodrigoSyscop/c9eb20bbf8e264657d5b to your computer and use it in GitHub Desktop.
php-rpm nginx configuration file
This file contains hidden or 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
# /usrl/local/etc/nginx/conf.d/php-fpm | |
location ~ \.php$ { | |
try_files $uri $uri/ /index.php?$query_string = 405; | |
stcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_intercept_errors off; | |
fastcgi_buffer_size 16k; | |
fastcgi_buffers 4 16k; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment