fix(jellyfin): Proxy websockets
- This fixes Jellyfin's SyncPlay feature. - This config is actually pasted from their setup guide. Not sure how I missed it.
This commit is contained in:
@@ -136,12 +136,12 @@ in {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
extraConfig = ''
|
||||
set $upstream http://127.0.0.1:${builtins.toString cfg.httpPort};
|
||||
'';
|
||||
set $upstream http://127.0.0.1:${builtins.toString cfg.httpPort};
|
||||
'';
|
||||
locations."/".extraConfig = ''
|
||||
include ${./authelia/proxy.conf};
|
||||
proxy_pass $upstream;
|
||||
'';
|
||||
include ${./authelia/proxy.conf};
|
||||
proxy_pass $upstream;
|
||||
'';
|
||||
locations."/api/verify".proxyPass = "$upstream";
|
||||
locations."/api/authz".proxyPass = "$upstream";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user