Nginx proxy: switch to tailscale
This commit is contained in:
parent
611eba5de8
commit
4f77fc3fb4
3 changed files with 16 additions and 4 deletions
|
|
@ -39,7 +39,14 @@ in
|
|||
];
|
||||
|
||||
config = {
|
||||
trustedProxies = [ hosts.zerotier.ipv4."baldur.zto" hosts.zerotier.ipv6."baldur.zto" "baldur.zto" ];
|
||||
trustedProxies = [
|
||||
hosts.zerotier.ipv4."baldur.zto"
|
||||
hosts.zerotier.ipv6."baldur.zto"
|
||||
hosts.tailscale.ipv4."baldur.tsn"
|
||||
hosts.tailscale.ipv6."baldur.tsn"
|
||||
"baldur.zto"
|
||||
"baldur.tsn"
|
||||
];
|
||||
extraTrustedDomains = [ config.services.nextcloud.hostName "freya.zto" ];
|
||||
adminpassFile = config.age.secrets.nextcloud_admin_secret.path;
|
||||
overwriteProtocol = "https";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue