Last active
April 30, 2016 14:29
-
-
Save emmanuelbarturen/2789ca8224d2cf31bbcc to your computer and use it in GitHub Desktop.
Pass uri and parameters in nginx
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
#in /etc/nginx/sites-available/sample.dev | |
#replace or add these lines | |
location / { | |
index index.php index.html; | |
try_files $uri $uri/ /index.php?url=$uri&$args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment