nixos: services: migrate to 'websocketsLocations'
This commit is contained in:
parent
e9d96138d5
commit
6a1a35a384
5 changed files with 8 additions and 28 deletions
|
|
@ -30,9 +30,7 @@ in
|
|||
audiobookshelf = {
|
||||
inherit (cfg) port;
|
||||
# Proxy websockets for RPC
|
||||
extraConfig = {
|
||||
locations."/".proxyWebsockets = true;
|
||||
};
|
||||
websocketsLocations = [ "/" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue