Created
February 28, 2017 19:54
-
-
Save pikami/9a99ffd2972c4c93b69a756ad6f82c1c 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
try_files $uri /index.php; | |
location ~ \.php$ { | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
it tries to load the uri first, if it can't it uses index.php instead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment