{ ... }: { services.nginx = { enable = true; recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts."hedgedoc.dryb.org" = { addSSL = true; enableACME = true; locations."/" = { proxyPass = "http://127.0.0.1:8009"; }; }; virtualHosts."miniflux.dryb.org" = { addSSL = true; enableACME = true; locations."/" = { proxyPass = "http://127.0.0.1:8008"; }; }; virtualHosts."syncthing.dryb.org" = { addSSL = true; enableACME = true; locations."/" = { proxyPass = "http://127.0.0.1:8384"; }; }; virtualHosts."vaultwarden.dryb.org" = { addSSL = true; enableACME = true; locations."/" = { proxyPass = "http://127.0.0.1:8005"; }; }; }; networking.firewall = { allowedTCPPorts = [ 80 443 ]; }; }