force ssl
This commit is contained in:
parent
81ee5b81c0
commit
eea0a072f2
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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}";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue