diff --git a/common/systemModules/nginx.nix b/common/systemModules/nginx.nix index a15dcdf..7e59846 100644 --- a/common/systemModules/nginx.nix +++ b/common/systemModules/nginx.nix @@ -8,6 +8,17 @@ # recommendedGzipSettings = true; # recommendedProxySettings = true; # recommendedOptimisation = true; + virtualHosts = { + "vw.sadan.zip" = { + forceSSL = true; + useACMEHost = "sadan.zip"; + locations = { + "/" = { + proxyPass = "http://localhost:3231"; + }; + }; + }; + }; }; adguardhome = { port = 3115; diff --git a/common/users/docker/vw/nginx.nix b/common/users/docker/vw/nginx.nix index c83b51f..a0d997d 100644 --- a/common/users/docker/vw/nginx.nix +++ b/common/users/docker/vw/nginx.nix @@ -2,17 +2,6 @@ { services = { nginx = { - virtualHosts = { - "vw.sadan.zip" = { - forceSSL = true; - useACMEHost = "sadan.zip"; - locations = { - "/" = { - proxyPass = "http://localhost:3231"; - }; - }; - }; - }; }; }; }