Last active
February 22, 2019 09:02
-
-
Save hn-support/837709781ed8f52f53bf07ed5c55dede to your computer and use it in GitHub Desktop.
Example Shopware Nginx rewrites
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
###General rewrites | |
location @shopware { | |
rewrite / /shopware.php; | |
} | |
# use shopware.php as index.php | |
location ~ ^/ { | |
# rewrite / /shopware.php; | |
index shopware.php index.php; | |
try_files $uri $uri/ /shopware.php$is_args$args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment