diff options
author | Franck Cuny <franck@fcuny.net> | 2024-08-05 17:26:22 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-08-05 17:26:22 -0700 |
commit | c4cd811529ea9dcf757e2518bd1aa939cdcc5825 (patch) | |
tree | 3f1e2f6fbb8eb1264c7335c60a4fb102b2e6ef8c /nix/hosts | |
parent | initial nginx configuration for fcuny.net (diff) | |
download | world-c4cd811529ea9dcf757e2518bd1aa939cdcc5825.tar.gz |
another attempt for nginx and acme
Diffstat (limited to 'nix/hosts')
-rw-r--r-- | nix/hosts/wildcat/configuration.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nix/hosts/wildcat/configuration.nix b/nix/hosts/wildcat/configuration.nix index c4c50c5..23ac05f 100644 --- a/nix/hosts/wildcat/configuration.nix +++ b/nix/hosts/wildcat/configuration.nix @@ -14,7 +14,12 @@ services.nginx = { enable = true; + recommendedProxySettings = true; + recommendedGzipSettings = true; + recommendedOptimisation = true; + recommendedTlsSettings = true; + virtualHosts = { "fcuny.net" = { addSSL = true; @@ -23,6 +28,9 @@ "/" = { root = "/srv/www/fcuny.net"; }; + "/.well-known/acme-challenge" = { + root = "/var/lib/acme/.challenges"; + }; }; }; }; |