From dfa3351ff6a650f5f7cac292b248e03e8a2f8f88 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 7 Sep 2023 03:53:58 +0200 Subject: Add domain --- .../services/containers/pluralcontactbotpoc/container.nix | 2 +- .../services/containers/pluralcontactbotpoc/services/nginx.nix | 2 -- host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix | 9 +++++++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100755 host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix (limited to 'host') diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix index 5fb7827..f1ddb3f 100755 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix @@ -16,7 +16,7 @@ ''; networking.firewall = { enable = true; - allowedTCPPorts = [ 80 443 ]; + allowedTCPPorts = [ 80 ]; }; }; hostAddress = "192.168.100.10"; diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix index 5338601..feaa3ed 100755 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix @@ -27,8 +27,6 @@ ]; virtualHosts = { "pcpoc.rory.gay" = { - enableACME = true; - addSSL = true; locations."/" = { proxyPass = "http://127.0.0.1:6167"; extraConfig = '' diff --git a/host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix b/host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix new file mode 100755 index 0000000..2e502c7 --- /dev/null +++ b/host/Rory-nginx/services/nginx/rory.gay/pcpoc.nix @@ -0,0 +1,9 @@ +{ + enableACME = true; + addSSL = true; + locations = { + "/" = { + proxyPass = "http://192.168.100.10"; + }; + }; +} \ No newline at end of file -- cgit 1.4.1