Created
March 26, 2014 19:10
-
-
Save clone1018/9790935 to your computer and use it in GitHub Desktop.
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
... | |
location ~ \.php$ { | |
root /var/www/projects/fghj/public; | |
try_files $uri $uri/ /index.php?$args ; | |
index index.html index.htm index.php; | |
fastcgi_index index.php; | |
fastcgi_param PATH_INFO $fastcgi_path_info; | |
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_param APPLICATION_ENV=development; | |
fastcgi_param APPLICATION_ENV=development; | |
fastcgi_param APPLICATION_ENV=development; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
include fastcgi_params; | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment