Created
April 10, 2019 10:17
-
-
Save kmvan/03ae669d760f20ba62d8bf3eb7633dfd to your computer and use it in GitHub Desktop.
wordpress nginx rewrite
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
location / { | |
try_files $uri $uri/ /index.php?$args; | |
} | |
rewrite /wp-admin$ $scheme://$host$uri/ permanent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment