l murmur: pin version, use new nginx options
This commit is contained in:
parent
2b0d785104
commit
a1855823de
|
@ -16,7 +16,7 @@
|
||||||
StandardError = lib.mkForce "journal";
|
StandardError = lib.mkForce "journal";
|
||||||
};
|
};
|
||||||
virtualisation.oci-containers.containers.mumble-web = {
|
virtualisation.oci-containers.containers.mumble-web = {
|
||||||
image = "rankenstein/mumble-web";
|
image = "rankenstein/mumble-web:0.5";
|
||||||
environment = {
|
environment = {
|
||||||
MUMBLE_SERVER = "lassul.us:64738";
|
MUMBLE_SERVER = "lassul.us:64738";
|
||||||
};
|
};
|
||||||
|
@ -28,12 +28,9 @@
|
||||||
services.nginx.virtualHosts."mumble.lassul.us" = {
|
services.nginx.virtualHosts."mumble.lassul.us" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".extraConfig = ''
|
locations."/" = {
|
||||||
proxy_pass http://localhost:64739/;
|
proxyPass = "http://localhost:64739";
|
||||||
proxy_set_header Accept-Encoding "";
|
proxyWebsockets = true;
|
||||||
proxy_http_version 1.1;
|
};
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection $connection_upgrade;
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue