2024-05-28, 06:41 PM
(This post was last modified: 2024-05-28, 06:41 PM by AverageStewie.)
(2024-05-28, 01:58 PM)TheDreadPirate Wrote: Try either of those. Pretty sure it should be Nginx's IP, 172.18.0.2.
I tried putting it as know proxy, didn't do anything.
I restarted afterwards. hmmm
(2024-05-28, 03:10 PM)MisterMcDuck Wrote: FWIW your custom config looks a bit different than mine, maybe compare?
Code:location / {
# Proxy main Jellyfin traffic
proxy_pass $forward_scheme://$server:$port;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
# Disable buffering when the nginx proxy gets very resource heavy upon streaming
proxy_buffering off;
}
location = /web/ {
# Proxy main Jellyfin traffic
proxy_pass $forward_scheme://$server:$port/web/index.html;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
}
location /socket {
# Proxy Jellyfin Websockets traffic
proxy_pass $forward_scheme://$server:$port;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
}
But is this for Nginx Proxy Manager or just nginx?