{ ... }: { services.nginx.virtualHosts."mewtube.nekover.se" = { forceSSL = true; enableACME = true; listen = [ { addr = "0.0.0.0"; port = 80; } { addr = "localhost"; port = 8443; ssl = true; proxyProtocol = true; } ]; locations."/" = { proxyPass = "http://cloudtube.vs.grzb.de:10412"; }; }; }