Skip to content

Commit

Permalink
fix: NAT
Browse files Browse the repository at this point in the history
  • Loading branch information
jz8132543 committed Mar 7, 2024
1 parent d957ddb commit 551db6b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions nixos/modules/services/traefik.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,7 @@
address = ":443";
forwardedHeaders.insecure = true;
proxyProtocol.insecure = true;
http.tls = "zerossl";
# if config.environment.isNAT
# then true
# else {certResolver = "zerossl";};
http3 = {};
};
https-alt = {
address = ":${toString config.environment.altHTTPS}";
forwardedHeaders.insecure = true;
proxyProtocol.insecure = true;
http.tls = "zerossl";
http.tls.certResolver = "zerossl";
# if config.environment.isNAT
# then true
# else {certResolver = "zerossl";};
Expand Down

0 comments on commit 551db6b

Please sign in to comment.