don't redirect to http when using tor

This commit is contained in:
meaz 2022-12-22 10:28:59 +01:00
parent d1a234e28d
commit ef75335d15
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ server {
return 301 https://{{ item.name }}$request_uri;
}
{% endif %}
{% if item.redirect_https is defined and item.redirect_https %}
{% if item.redirect_https is defined and item.redirect_https and enable_tor != 'true' %}
## REDIRECTS