summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnonymous <anon@anon.com>2022-01-07 19:22:41 +0100
committerAnonymous <anon@anon.com>2022-01-07 19:22:41 +0100
commitd65b184f8c47964f3d1568bfc4c95e1e9a22f43e (patch)
treeac7f6bcd27680b44cad085d5c7ef235780bd3a2e
parent438049da1f09846b629fb162921c2965f1eedb84 (diff)
lol
-rw-r--r--ACME.md32
1 files changed, 1 insertions, 31 deletions
diff --git a/ACME.md b/ACME.md
index 88de337..d09b411 100644
--- a/ACME.md
+++ b/ACME.md
@@ -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