diff options
| -rw-r--r-- | configuration.nix | 8 | ||||
| -rw-r--r-- | machines/lapin.nix | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/configuration.nix b/configuration.nix index af120b3..5378d07 100644 --- a/configuration.nix +++ b/configuration.nix @@ -57,7 +57,13 @@ in enable = true; useRoutingFeatures = "client"; }; - nginx.enable = true; + nginx = { + enable = true; + recommendedGzipSettings = true; + recommendedOptimisation = true; + recommendedProxySettings = true; + recommendedTlsSettings = true; + }; }; virtualisation = { diff --git a/machines/lapin.nix b/machines/lapin.nix index 6de21d6..7e4ef8b 100644 --- a/machines/lapin.nix +++ b/machines/lapin.nix @@ -44,7 +44,7 @@ enableACME = true; locations."/" = { - recommendedProxySettings = true; + proxyWebsockets = true; proxyPass = "http://127.0.0.1:1111"; }; }; |
