Skip to content

Commit

Permalink
fix: make "Shopware Update" work with nginx, fixes ddev#6656 (ddev#6717
Browse files Browse the repository at this point in the history
…) [skip ci]
  • Loading branch information
stasadev authored Nov 15, 2024
1 parent 2a69e62 commit 7399693
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/ddevapp/webserver_config_assets/nginx-site-shopware6.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ server {
rewrite ^ /index.php;
}

# Shopware install / update
location /shopware-installer.phar.php {
try_files $uri /shopware-installer.phar.php$is_args$args;
}

location ~ ^/shopware-installer\.phar\.php/.+\.(?:css|js|png|svg|woff)$ {
try_files $uri /shopware-installer.phar.php$is_args$args;
}

# Needed for Shopware install / update
location /recovery/install {
index index.php;
Expand Down

0 comments on commit 7399693

Please sign in to comment.