-
-
Save bogdandynamic/230fef19c347e2a64cf47fb97549538a to your computer and use it in GitHub Desktop.
Nginx URL routing in subfolder (From http://stackoverflow.com/questions/17805576/nginx-rewrite-in-subfolder/24133061#24133061?newreg=f451c2258d4b4b079fcb3f8c117ebb65)
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 /SUBFOLDER/ { | |
index index.php; | |
try_files $uri $uri/ /SUBFOLDER/index.php?$args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment