Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example Shopware Nginx rewrites
###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