Created
February 20, 2019 05:50
-
-
Save rizkiheryandi/ccd76ee2a4b95582880c57e3e94396bc 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 / { | |
| # First attempt to serve request as file, then | |
| # as directory, then fall back to displaying a 404. | |
| try_files $uri $uri/ /index.php?q=$uri&$args; | |
| #try_files $uri $uri/ =404; | |
| # Uncomment to enable naxsi on this location | |
| # include /etc/nginx/naxsi.rules | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment