add requred proxy headers
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5b9e42bb05
commit
9d633b9959
@ -29,7 +29,16 @@ server {
|
||||
|
||||
location / {
|
||||
proxy_pass http://backend_jellyfin;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header Range $http_range;
|
||||
proxy_set_header If-Range $http_if_range;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
#Next three lines allow websockets
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
ssl_certificate /etc/pki/tls/certs/{{ jellyfin_nginx_tls_cert_file }};
|
||||
|
Loading…
Reference in New Issue
Block a user