shopware-with-nginx icon indicating copy to clipboard operation
shopware-with-nginx copied to clipboard

Feature-Request: Subfolder installation config

Open larsbo opened this issue 8 years ago • 7 comments

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.

larsbo avatar Aug 29 '16 18:08 larsbo

+1 since shopware still does not provide a better way for a dev/staging system as doing a subfolder install on same domain :(

lhwparis avatar Nov 26 '16 09:11 lhwparis

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.

bcremer avatar Nov 28 '16 07:11 bcremer

I am open for pull requests that implement this feature if it adheres to nginx best practices.

bcremer avatar Nov 28 '16 07:11 bcremer

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

n8lauscher avatar Nov 29 '18 01:11 n8lauscher

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 avatar Apr 19 '22 04:04 jessicana

@jessicana Nothing mythical about it. It's 2022 an nobody has contributed a working subfolder configuration yet.

bcremer avatar Apr 19 '22 06:04 bcremer