services: use wildcard certificate

Should have done this a long time ago
This commit is contained in:
Antoine Martin 2021-07-13 00:57:33 +02:00
parent 64d479e2ce
commit f0e5e90c10
14 changed files with 37 additions and 21 deletions

View file

@ -23,7 +23,7 @@ in
services.nginx.virtualHosts = {
"paperless.${domain}" = {
forceSSL = true;
enableACME = true;
useACMEHost = domain;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString cfg.port}";