summaryrefslogtreecommitdiff
path: root/hosts/p-body/nginx.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-07-19 23:13:09 -0400
committerseth <[email protected]>2023-07-19 23:13:09 -0400
commit9769f23c295bed3a9804d6958644479587a45329 (patch)
treebd62b68bffbf151b42de0856603b0503c8bafb33 /hosts/p-body/nginx.nix
parent289b29a976fb37b3f7fe8b152d6bd5c7a132a6a1 (diff)
hosts/atlas + p-body: close port 80
Diffstat (limited to 'hosts/p-body/nginx.nix')
-rw-r--r--hosts/p-body/nginx.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/hosts/p-body/nginx.nix b/hosts/p-body/nginx.nix
index df887b3..3390f89 100644
--- a/hosts/p-body/nginx.nix
+++ b/hosts/p-body/nginx.nix
@@ -1,7 +1,7 @@
{config, ...}: let
inherit (config.networking) domain;
in {
- networking.firewall.allowedTCPPorts = [80 443];
+ networking.firewall.allowedTCPPorts = [443];
security.acme = {
acceptTerms = true;
@@ -33,13 +33,6 @@ in {
locations = mkProxy "/" "8080";
};
- "git.${domain}" = {
- enableACME = true;
- addSSL = true;
-
- locations = mkProxy "/" "3000";
- };
-
"grafana.${domain}" = {
enableACME = true;
addSSL = true;