jellyfin socket nginx

This commit is contained in:
Nathan McCarty 2023-10-12 13:13:41 -04:00
parent e6f4152767
commit 3ca99ab655
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 20 additions and 5 deletions

View File

@ -203,11 +203,26 @@
"jellyfin.mccarty.io" = {
forceSSL = true;
useACMEHost = "mccarty.io";
locations."/" = {
proxyPass = "http://100.104.25.128:8096";
extraConfig = ''
allow all;
'';
locations = {
"/socket" = {
proxyPass = "http://100.104.25.128:8096";
extraConfig = ''
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;
'';
};
"/" = {
proxyPass = "http://100.104.25.128:8096";
extraConfig = ''
allow all;
'';
};
};
};
"jellyseerr.mccarty.io" = {