Nginx proxy: switch to tailscale
This commit is contained in:
parent
611eba5de8
commit
4f77fc3fb4
3 changed files with 16 additions and 4 deletions
|
|
@ -68,12 +68,12 @@
|
|||
ssl = { enableACME = true; forceSSL = true; };
|
||||
in
|
||||
{
|
||||
"unimi.bertof.net" = ssl // {
|
||||
"me.bertof.net" = ssl // {
|
||||
locations."/".extraConfig =
|
||||
"rewrite ^/(.*)$ https://homes.di.unimi.it/berto/$1 redirect ;";
|
||||
};
|
||||
"home-assistant.bertof.net" = ssl // {
|
||||
locations."/" = { proxyPass = "http://loki.zto:8123/"; proxyWebsockets = true; };
|
||||
locations."/" = { proxyPass = "http://loki.tsn:8123/"; proxyWebsockets = true; };
|
||||
extraConfig = ''
|
||||
proxy_pass_header Authorization;
|
||||
proxy_buffering off;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue