temp allow only ssl termination proxy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-02-02 01:12:15 +01:00
parent 3d0246c01b
commit 5b9e42bb05

View File

@ -14,7 +14,7 @@ server {
return 301 https://$server_name$request_uri; return 301 https://$server_name$request_uri;
{% else %} {% else %}
location / { location / {
proxy_pass {{ 'https' if jellyfin_tls_enabled else 'http' }}://backend_jellyfin; proxy_pass http://backend_jellyfin;
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;
} }
{% endif %} {% endif %}
@ -28,7 +28,7 @@ server {
client_max_body_size 200M; client_max_body_size 200M;
location / { location / {
proxy_pass {{ 'https' if jellyfin_tls_enabled else 'http' }}://backend_jellyfin; proxy_pass http://backend_jellyfin;
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;
} }