shopwareArchive / shopware-platform-vagrant

DEPRECATED: A Vagrant setup ready for shopware platform development
22 stars 14 forks source link

Fix virtual host config for Nginx proxy #11

Closed jlhmn closed 4 years ago

jlhmn commented 4 years ago

Currently vagrant up results in an error when proxy_enables is set to yes and proxy_ssl is set to no. This is caused by two mistakes. First of all the vhost-http template and vhost-https template are identical. As a result, the nginx tries to load snippets/ssl even if ssl is disabled, which then can not be found. Second, the Apache2 must listen on port 80 as soon as the Nginx is enabled, which is set by proxy_enabled rather than proxy_ssl.

flohessling commented 4 years ago

Thank you for your pull request and your contribution!