Open larsbo opened 8 years ago
+1 since shopware still does not provide a better way for a dev/staging system as doing a subfolder install on same domain :(
Please keep in mind that nginx is not supported officially. Also keep in mind that this will not make your shop any faster. A well configured Apache with mpm_event
and php-fpm is nearly as fast as nginx while getting full support of shopware.
I am open for pull requests that implement this feature if it adheres to nginx best practices.
Hi Benjamin, at Timmehosting, I can run another "staging shop" in a subfolder (example.com/staging) on my main shop (example.com). What is the Nginx configuration for? Is there already a finished configuration here? I ask for feedback. THANK YOU
It is 2022 and I can confirm that the Nginx configuration file to run shopware in a subfolder is a myth. Any insights are highly appreciated.
@jessicana Nothing mythical about it. It's 2022 an nobody has contributed a working subfolder configuration yet.
With the help of this gist I got a working shopware in a subfolder (for me it was example.com/shop) https://gist.github.com/marcw/2bebd7094b649a627a171ee1d5e34b26
If shopware is installed in a subfolder (as suggested by the shopware support for testing/help) a config for this scenario would be great. I think there are some pitfalls and a bit more work than just prepending the subfolder path is required.