on master help sign in
enable websocket proxy in nginx
bf8912eJoseph Betz
default.nix+1
@@ -206,6 +206,7 @@ in rec {
206 forceSSL = enableHttps;
206 forceSSL = enableHttps;
207 locations.${baseUrl} = {
207 locations.${baseUrl} = {
208 proxyPass = "http://localhost:" + toString internalPort;
208 proxyPass = "http://localhost:" + toString internalPort;
209+ proxyWebsockets = true;
209 };
210 };
210 };
211 };
211 };
212 };