diff --git a/modules/vds/nginx.nix b/modules/vds/nginx.nix index 1f17f1c..7121427 100644 --- a/modules/vds/nginx.nix +++ b/modules/vds/nginx.nix @@ -17,6 +17,13 @@ in recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; + defaultListen = [ + { + addr = "0.0.0.0"; + port = 8443; + ssl = true; + } + ]; # appendHttpConfig = inputs.zeroq-credentials.services.xray.maps; virtualHosts = { # "pubray.zeroq.su" = { @@ -235,5 +242,6 @@ in networking.firewall.allowedTCPPorts = [ 80 443 + 8443 ]; }