diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-07 03:53:58 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-07 03:53:58 +0200 |
commit | dfa3351ff6a650f5f7cac292b248e03e8a2f8f88 (patch) | |
tree | 6eaba5bcf4cc849f59f18b308fe535f73608869a | |
parent | Add container ip address (diff) | |
download | Rory-Open-Architecture-dfa3351ff6a650f5f7cac292b248e03e8a2f8f88.tar.xz |
Add domain
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 |