audiobookshelf: Use built-in NixOS setting for nginx websocket support

This commit is contained in:
Katherina Walshe-Grey 2025-05-21 19:28:29 +01:00
parent a98fd9ba83
commit 2e37815edb

View file

@ -21,11 +21,7 @@ in
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8234/";
extraConfig = ''
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
'';
proxyWebsockets = true;
};
};
};