shyim / shopware

Shopware 6 Docker Image
https://hub.docker.com/r/shyim/shopware
MIT License
66 stars 13 forks source link

Allow Shopware Domain Validation through backend #17

Closed tralafiti closed 3 years ago

tralafiti commented 3 years ago

Shopware's Domain Validation was not possible when using the build in backend option because the php controller was never served by nginx due to the regex static asset location block matching all html routes, too.

This PR defines a new location block just for this use case: Serve a static file with the name first and falls back to php for /sw-domain-hash.html.

shyim commented 3 years ago

Thanks!