diff --git a/configs/sputnik/codimd.nix b/configs/sputnik/codimd.nix index fbcc958..0f5605b 100644 --- a/configs/sputnik/codimd.nix +++ b/configs/sputnik/codimd.nix @@ -2,6 +2,18 @@ services.nginx.enable = true; services.nginx.virtualHosts.codimd = { + listen = [ + { + addr = "0.0.0.0"; + port = 4443; + ssl = true; + } + { + addr = "0.0.0.0"; + port = 80; + ssl = false; + } + ]; enableACME = true; addSSL = true; serverName = "codimd.ingolf-wagner.de"; diff --git a/configs/sputnik/configuration.nix b/configs/sputnik/configuration.nix index ee4f637..51be770 100644 --- a/configs/sputnik/configuration.nix +++ b/configs/sputnik/configuration.nix @@ -6,7 +6,7 @@ ./nginx.nix ./tinc.nix - #./codimd.nix + ./codimd.nix #./syncplay.nix #./mail-server.nix