Merge pull request #353 from JBetz/proxy-websockets
Enable WebSockets through nginx configuration
commit4b6deb829ce71e92c6b43352db51b403f17191bd
authorRyan Trinkle <ryan.trinkle@gmail.com>
dateWed 20 Feb 2019, 14:18 (8 years ago)
parentfb0473abf8912e
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 };