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

@ -24,7 +24,7 @@ in {
# Proxy to Jellyfin
services.nginx.virtualHosts."jellyfin.${domain}" = {
forceSSL = true;
enableACME = true;
useACMEHost = domain;
locations."/" = {
proxyPass = "http://localhost:${toString jellyfinPort}/";