summary refs log tree commit diff
path: root/host/Rory-nginx
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx')
-rwxr-xr-xhost/Rory-nginx/services/containers/pluralcontactbotpoc/container.nix2
-rwxr-xr-xhost/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix2
-rwxr-xr-xhost/Rory-nginx/services/nginx/rory.gay/pcpoc.nix9
3 files changed, 10 insertions, 3 deletions
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