diff --git a/hosts/nginx/configuration.nix b/hosts/nginx/configuration.nix index f986249..9fbfc5a 100644 --- a/hosts/nginx/configuration.nix +++ b/hosts/nginx/configuration.nix @@ -31,6 +31,7 @@ recommendedProxySettings = true; recommendedTlsSettings = true; + virtualHosts."ha.0x76.dev" = { enableACME = true; forceSSL = true; @@ -48,6 +49,25 @@ proxyWebsockets = true; }; }; + + # TODO: Make a function for adding hostnames to k8s endpoint(s). + virtualHosts."wooloofan.club" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://10.42.42.150:8000/"; + proxyWebsockets = true; + }; + }; + + virtualHosts."whoami.wooloofan.club" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://10.42.42.150:8000/"; + proxyWebsockets = true; + }; + }; }; security.acme.email = "victorheld12@gmail.com";