summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-07 03:53:58 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-07 03:53:58 +0200
commitdfa3351ff6a650f5f7cac292b248e03e8a2f8f88 (patch)
tree6eaba5bcf4cc849f59f18b308fe535f73608869a
parentAdd container ip address (diff)
downloadRory-Open-Architecture-dfa3351ff6a650f5f7cac292b248e03e8a2f8f88.tar.xz
Add domain
-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