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;
|
||||
};
|
||||
|
||||
"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 = [
|
||||
|
|
Loading…
Reference in a new issue