Created
April 8, 2020 07:02
-
-
Save mhemrg/443f403985e64920739b45d302302a87 to your computer and use it in GitHub Desktop.
Nginx hide .html file extension
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 / { | |
| index index.html index.htm; | |
| try_files $uri.html $uri $uri/ =404; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment