enable websocket proxy in nginx
commitbf8912e2f1834dd346949634e718c8606af789e1
authorJoseph Betz <joebetz91@gmail.com>
dateSat 9 Feb 2019, 06:58 (8 years ago)
parentfb0473a
default.nix+1
@@ -206,6 +206,7 @@ in rec {
206206 forceSSL = enableHttps;
207207 locations.${baseUrl} = {
208208 proxyPass = "http://localhost:" + toString internalPort;
209+ proxyWebsockets = true;
209210 };
210211 };
211212 };