diff options
author | Anonymous <anon@anon.com> | 2022-01-07 19:22:41 +0100 |
---|---|---|
committer | Anonymous <anon@anon.com> | 2022-01-07 19:22:41 +0100 |
commit | d65b184f8c47964f3d1568bfc4c95e1e9a22f43e (patch) | |
tree | ac7f6bcd27680b44cad085d5c7ef235780bd3a2e | |
parent | 438049da1f09846b629fb162921c2965f1eedb84 (diff) |
lol
-rw-r--r-- | ACME.md | 32 |
1 files changed, 1 insertions, 31 deletions
@@ -20,34 +20,4 @@ services.nginx.virtualHosts."myservice.r" = { security.acme.certs."myservice.r".server = "https://ca.r/acme/acme/directory"; ``` -## example set-up - -``` -{ - services.nginx = { - enable = true; - recommendedTlsSettings = true; - - virtualHosts = { - "catalonia.r" = { - listen = [ - { addr = "catalonia.r"; port = 80; } - { addr = "catalonia.r"; port = 443; ssl = true; } - ]; - enableACME = true; - addSSL = true; - }; - }; - }; - - security.acme = { - acceptTerms = true; - certs."catalonia.r" = { - email = "xkey@irc.r"; - server = "https://ca.r/acme/acme/directory"; - }; - }; - - networking.firewall.allowedTCPPorts = [ 80 443 ]; -} -``` +don't forget to open the firewall ports.
\ No newline at end of file |