-
-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shopware-installer.phar.php
to shopware's nginx config
#6656
Comments
Thanks for exploring this. You can edit the You may also be able to do it with nginx snippets, https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#nginx-snippets If you get a solution you like, please do a PR to nginx-site.shopware6.conf Thanks! |
I see this config as part of official Shopware documentation for nginx https://developer.shopware.com/docs/resources/references/config-reference/server/nginx.html I confirm that it works (I inserted it before
To reproduce:
|
shopware-installer.phar.php
to shopwares nginx configshopware-installer.phar.php
to shopware's nginx config
Preliminary checklist
ddev debug test
to include output belowOutput of
ddev debug test
Expand `ddev debug test` diagnostic information
Expected Behavior
Serve
shopware-installer.phar.php
Actual Behavior
The nginx config is not able to serve
shopware-installer.phar.php
properly. Theindex.php
is served (have not debugged why) and one gets redirect to the maintenance page.Steps To Reproduce
Anything else?
In the update process of Shopware 6.4 to 6.5 a new file (
shopware-installer.phar.php
) is downloaded and placed in thepublic
directory of the shopware installation.A working fix is mentioned here: https://forum.shopware.com/t/probleme-beim-update-von-6-4-20-2-auf-6-5/100574/19
It basically involves putting extra rules in the
nginx
config:Though this work and fixes another issue there is with css files, I am not sure if that is a good solution.
Somehow the
index.php
is served, which could be problematic if you want to have another entry point into your shop that is not theindex.php
. For example anapi.php
.It could be just a problem with the JS/CSS, which is showcased here: https://forum.shopware.com/t/probleme-beim-update-von-6-4-20-2-auf-6-5/100574
The text was updated successfully, but these errors were encountered: