nginx: wooloofan.club

This commit is contained in:
Vivian 2021-10-27 16:06:22 +02:00
parent a1190957f8
commit 4613f66cf2

View file

@ -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";