bcremer / shopware-with-nginx

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

Feature-Request: Subfolder installation config #23

Open larsbo opened 8 years ago

larsbo commented 8 years ago

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.

lhwparis commented 7 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 :(

bcremer commented 7 years ago

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 commented 7 years ago

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

n8lauscher commented 5 years ago

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

jessicana commented 2 years ago

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.

bcremer commented 2 years ago

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

pburggraf commented 2 months ago

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