Fix: \$uri escape in Nginx heredoc verhindert set -u Abbruch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
boban 2026-04-23 21:00:23 +02:00
parent 38d22c85ed
commit 45e762be7f
1 changed files with 2 additions and 2 deletions

View File

@ -406,7 +406,7 @@ server {
fastcgi_pass unix:${PHP_FPM_SOCK}; fastcgi_pass unix:${PHP_FPM_SOCK};
} }
location ^~ /livewire/ { location ^~ /livewire/ {
try_files $uri /index.php?$query_string; try_files \$uri /index.php?\$query_string;
} }
location ~* \.(jpg|jpeg|png|gif|css|js|ico|svg)\$ { location ~* \.(jpg|jpeg|png|gif|css|js|ico|svg)\$ {
expires 30d; expires 30d;
@ -437,7 +437,7 @@ server {
fastcgi_pass unix:${PHP_FPM_SOCK}; fastcgi_pass unix:${PHP_FPM_SOCK};
} }
location ^~ /livewire/ { location ^~ /livewire/ {
try_files $uri /index.php?$query_string; try_files \$uri /index.php?\$query_string;
} }
location ~* \.(jpg|jpeg|png|gif|css|js|ico|svg)\$ { location ~* \.(jpg|jpeg|png|gif|css|js|ico|svg)\$ {
expires 30d; expires 30d;