hoarder: add extraDomainNames to bookmark.euer.krebsco.de

This commit is contained in:
makefu 2024-12-29 15:58:00 +01:00
parent 2ddb873e33
commit 91c6e67cd2
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -1,13 +1,13 @@
{config, ... }:
let
port = 3011;
domain = "bookmark.euer.krebsco.de";
in
{
{
security.acme.certs."euer.krebsco.de".extraDomainNames = [domain];
services.nginx = {
enable = lib.mkDefault true;
virtualHosts."bookmark.euer.krebsco.de" = {
virtualHosts."${domain}" = {
useACMEHost = "euer.krebsco.de";
# enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://omo.w:${toString port}";