This commit is contained in:
Stefan Wieczorek
2023-11-17 13:17:58 +01:00
parent d1aefeb4e8
commit 119600ef73

View File

@@ -27,9 +27,9 @@ server {
# try_files $uri $uri/ /shopware-installer.phar.php?$args; # try_files $uri $uri/ /shopware-installer.phar.php?$args;
#} #}
location /recovery/install/ { #location /recovery/install/ {
try_files $uri $uri/ /recovery/install/index.php?$args; # try_files $uri $uri/ /recovery/install/index.php?$args;
} #}
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
index index.php index.html; index index.php index.html;
@@ -47,10 +47,6 @@ server {
fastcgi_param PHP_VALUE "{{php_settings}}"; fastcgi_param PHP_VALUE "{{php_settings}}";
} }
location / {
try_files $uri /index.php$is_args$args;
}
location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf)$ { location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf)$ {
add_header Access-Control-Allow-Origin "*"; add_header Access-Control-Allow-Origin "*";
expires max; expires max;