[Nginx] Pass args when redirecting to https
parent
3e9ad820bf
commit
3a1e7b4ee1
|
@ -34,7 +34,7 @@ server {
|
||||||
include /etc/nginx/conf.d/server_name.active;
|
include /etc/nginx/conf.d/server_name.active;
|
||||||
|
|
||||||
if ($non_internal) {
|
if ($non_internal) {
|
||||||
return 302 https://$server_name$request_uri;
|
return 302 https://$server_name$uri$is_args$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
error_log /var/log/nginx/error.log;
|
error_log /var/log/nginx/error.log;
|
||||||
|
|
Loading…
Reference in New Issue