mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fix redirection config bug
This commit is contained in:
parent
2d8b5b814e
commit
de367ae194
@ -16,9 +16,9 @@ server {
|
||||
{% include "_forced_ssl.conf" %}
|
||||
|
||||
{% 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;
|
||||
{% else %}
|
||||
return 301 $scheme://{{ forward_domain_name }};
|
||||
{% endif %}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user