diff options
author | lassulus <lassulus@lassul.us> | 2021-10-24 12:53:02 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-10-24 12:53:02 +0200 |
commit | a1855823dec36034ba3eb7e6350dbd7496d2b93b (patch) | |
tree | bf1c558ab855ef88416afa16b13c6b474a3f8e00 /lass | |
parent | 2b0d7851048b208fdbcdd2d854beb2ab9d68155f (diff) |
l murmur: pin version, use new nginx options
Diffstat (limited to 'lass')
-rw-r--r-- | lass/2configs/murmur.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lass/2configs/murmur.nix b/lass/2configs/murmur.nix index 9f325d0af..7cc4051a8 100644 --- a/lass/2configs/murmur.nix +++ b/lass/2configs/murmur.nix @@ -16,7 +16,7 @@ StandardError = lib.mkForce "journal"; }; virtualisation.oci-containers.containers.mumble-web = { - image = "rankenstein/mumble-web"; + image = "rankenstein/mumble-web:0.5"; environment = { MUMBLE_SERVER = "lassul.us:64738"; }; @@ -28,12 +28,9 @@ services.nginx.virtualHosts."mumble.lassul.us" = { enableACME = true; forceSSL = true; - locations."/".extraConfig = '' - proxy_pass http://localhost:64739/; - proxy_set_header Accept-Encoding ""; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; - ''; + locations."/" = { + proxyPass = "http://localhost:64739"; + proxyWebsockets = true; + }; }; } |