bcremer / shopware-with-nginx

Running shopware using NGINX
http://shopware.com
BSD 2-Clause "Simplified" License
95 stars 46 forks source link

do not try to deliver files directly when the urls contains backend/medi... #1

Closed dnoegel closed 10 years ago

dnoegel commented 10 years ago

Fixes issue with backend/media images in the backend

mkempe commented 10 years ago

Hallo zusammen,

eine Frage: funktioniert bei euch Shopware problemlos mit Nginx? Das Backend läuft bei mir soweit, wenn ich jedoch versuche ein Template in der Vorschau anzuzeigen, erscheint leider nichts, zudem wird das gewählte Template nicht gewählt, sondern immer das Standard Template. Vielleicht könnt ihr mir ja einen Tip geben.

Vielen Dank schon mal für eure Antwort.

Maik

bcremer commented 10 years ago

@dnoegel, thanks for your contribution. I fixed the issue with commit https://github.com/bcremer/shopware-with-nginx/commit/ba3f84e557903fe67f62779902b2becbe195eec6. I moved the rewrite rule into the regex location.

@mkempe Shopware should run fine using this configuration. Please try out the newest version. Also the template selection work`s like expected.

mkempe commented 10 years ago

Hello Benjamin,

you're right, it all works now, the "problem" was the Frontendcache plugin.

Thanks for the configuration.