mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-30 01:47:51 +01:00
Fix redirection config bug
This commit is contained in:
1 parent
2d8b5b814e
commit
de367ae194
1 file changed
+2
-2
@@ -16,9 +16,9 @@ server {
|
|||||||
{% include "_forced_ssl.conf" %}
|
{% include "_forced_ssl.conf" %}
|
||||||
|
|
||||||
{% if preserve_path == 1 or preserve_path == true %}
|
{% if preserve_path == 1 or preserve_path == true %}
|
||||||
return 301 $scheme://{{ forward_domain_name }}$request_uri$request_uri;
|
|
||||||
{% else %}
|
|
||||||
return 301 $scheme://{{ forward_domain_name }}$request_uri;
|
return 301 $scheme://{{ forward_domain_name }}$request_uri;
|
||||||
|
{% else %}
|
||||||
|
return 301 $scheme://{{ forward_domain_name }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user