force ssl

This commit is contained in:
Vinzenz Schroeter 2026-01-04 20:54:55 +01:00 committed by müde
parent 81ee5b81c0
commit eea0a072f2
2 changed files with 2 additions and 2 deletions

View file

@ -13,8 +13,8 @@ in
services = { services = {
nginx.virtualHosts = { nginx.virtualHosts = {
"zerforschen.plus" = { "zerforschen.plus" = {
addSSL = true;
enableACME = true; enableACME = true;
forceSSL = true;
locations = { locations = {
"/_metrics".proxyPass = "http://unix:" + anubis-metrics-socket + ":/metrics"; "/_metrics".proxyPass = "http://unix:" + anubis-metrics-socket + ":/metrics";
"/".proxyPass = "http://unix:" + anubis-domain-socket; "/".proxyPass = "http://unix:" + anubis-domain-socket;

View file

@ -16,8 +16,8 @@ in
}; };
}; };
nginx.virtualHosts."uplink.darkest.space" = { nginx.virtualHosts."uplink.darkest.space" = {
addSSL = true;
enableACME = true; enableACME = true;
forceSSL = true;
locations = { locations = {
"/".proxyPass = "http://localhost:${builtins.toString headscale-port}"; "/".proxyPass = "http://localhost:${builtins.toString headscale-port}";
}; };