sputnik fixing lets encrypt fixes
This commit is contained in:
parent
a94e8afe34
commit
58df27cc3a
1 changed files with 27 additions and 27 deletions
|
@ -195,33 +195,33 @@ in {
|
||||||
} // error.locations;
|
} // error.locations;
|
||||||
};
|
};
|
||||||
|
|
||||||
"chat.ingolf-wagner.de" = {
|
#"chat.ingolf-wagner.de" = {
|
||||||
listen = [
|
# listen = [
|
||||||
{
|
# {
|
||||||
addr = "0.0.0.0";
|
# addr = "0.0.0.0";
|
||||||
port = 4443;
|
# port = 4443;
|
||||||
ssl = true;
|
# ssl = true;
|
||||||
}
|
# }
|
||||||
{
|
# {
|
||||||
addr = "0.0.0.0";
|
# addr = "0.0.0.0";
|
||||||
port = 80;
|
# port = 80;
|
||||||
ssl = false;
|
# ssl = false;
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
forceSSL = true;
|
# forceSSL = true;
|
||||||
enableACME = true;
|
# enableACME = true;
|
||||||
extraConfig = error.extraConfig;
|
# extraConfig = error.extraConfig;
|
||||||
locations = {
|
# locations = {
|
||||||
"/" = {
|
# "/" = {
|
||||||
proxyPass = "http://chat.workhorse.private";
|
# proxyPass = "http://chat.workhorse.private";
|
||||||
proxyWebsockets = true;
|
# proxyWebsockets = true;
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
sub_filter "http://chat.ingolf-wagner.de" "https://chat.ingolf-wagner.de";
|
# sub_filter "http://chat.ingolf-wagner.de" "https://chat.ingolf-wagner.de";
|
||||||
sub_filter "chat.workhorse.private" "chat.ingolf-wagner.de";
|
# sub_filter "chat.workhorse.private" "chat.ingolf-wagner.de";
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
} // error.locations;
|
# } // error.locations;
|
||||||
};
|
#};
|
||||||
|
|
||||||
"nextcloud.ingolf-wagner.de" = {
|
"nextcloud.ingolf-wagner.de" = {
|
||||||
listen = [
|
listen = [
|
||||||
|
|
Loading…
Reference in a new issue