Send query string upstream

This commit is contained in:
Sylvia van Os 2020-01-03 14:01:40 +01:00
parent e15ac5fc84
commit 458cccd854

View file

@ -340,7 +340,7 @@ server {
{{ end }}
{{ else if $vhost_index }}
index {{ $vhost_index }};
try_files $uri $uri/ /{{ $vhost_index }};
try_files $uri $uri/ /{{ $vhost_index }}?$query_string;
{{ end }}
{{ if (exists (printf "/etc/nginx/htpasswd/%s" $host)) }}
@ -421,7 +421,7 @@ server {
{{ end }}
{{ else if $vhost_index }}
index {{ $vhost_index }};
try_files $uri $uri/ /{{ $vhost_index }};
try_files $uri $uri/ /{{ $vhost_index }}?$query_string;
{{ end }}
{{ if (exists (printf "/etc/nginx/htpasswd/%s" $host)) }}