sputnik fixing lets encrypt fixes

feature/hass
Ingolf Wagner 2021-03-05 17:45:54 +01:00
parent a94e8afe34
commit 58df27cc3a
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
1 changed files with 27 additions and 27 deletions

View File

@ -195,33 +195,33 @@ in {
} // error.locations;
};
"chat.ingolf-wagner.de" = {
listen = [
{
addr = "0.0.0.0";
port = 4443;
ssl = true;
}
{
addr = "0.0.0.0";
port = 80;
ssl = false;
}
];
forceSSL = true;
enableACME = true;
extraConfig = error.extraConfig;
locations = {
"/" = {
proxyPass = "http://chat.workhorse.private";
proxyWebsockets = true;
extraConfig = ''
sub_filter "http://chat.ingolf-wagner.de" "https://chat.ingolf-wagner.de";
sub_filter "chat.workhorse.private" "chat.ingolf-wagner.de";
'';
};
} // error.locations;
};
#"chat.ingolf-wagner.de" = {
# listen = [
# {
# addr = "0.0.0.0";
# port = 4443;
# ssl = true;
# }
# {
# addr = "0.0.0.0";
# port = 80;
# ssl = false;
# }
# ];
# forceSSL = true;
# enableACME = true;
# extraConfig = error.extraConfig;
# locations = {
# "/" = {
# proxyPass = "http://chat.workhorse.private";
# proxyWebsockets = true;
# extraConfig = ''
# sub_filter "http://chat.ingolf-wagner.de" "https://chat.ingolf-wagner.de";
# sub_filter "chat.workhorse.private" "chat.ingolf-wagner.de";
# '';
# };
# } // error.locations;
#};
"nextcloud.ingolf-wagner.de" = {
listen = [