Skip to content

Instantly share code, notes, and snippets.

@hn-support
Last active February 22, 2019 09:02
Show Gist options
  • Select an option

  • Save hn-support/837709781ed8f52f53bf07ed5c55dede to your computer and use it in GitHub Desktop.

Select an option

Save hn-support/837709781ed8f52f53bf07ed5c55dede to your computer and use it in GitHub Desktop.

Revisions

  1. hn-support renamed this gist Feb 22, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. hn-support created this gist Feb 22, 2019.
    12 changes: 12 additions & 0 deletions server.shopware
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    ###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;
    }