feat: nextcloud: add tailscale ip as a trusted proxy
parent
e580eeb25e
commit
9b6be1ebd6
|
@ -197,6 +197,9 @@
|
|||
home = "/zroot/nextcloud";
|
||||
hostName = "nextcloud.samsehu.perli.casa";
|
||||
config.adminpassFile = "/var/nextcloud-admin-pass";
|
||||
config.trustedProxies = [
|
||||
"100.64.0.3"
|
||||
];
|
||||
};
|
||||
services.phpfpm.pools.nextcloud.settings = {
|
||||
"listen.owner" = config.services.caddy.user;
|
||||
|
@ -238,7 +241,7 @@
|
|||
'';
|
||||
|
||||
virtualHosts."nextcloud.samsehu.perli.casa".extraConfig = ''
|
||||
bind 100.64.0.3 192.168.0.69
|
||||
bind 100.64.0.3
|
||||
|
||||
# https://docs.nextcloud.com/server/27/admin_manual/issues/general_troubleshooting.html#service-discovery
|
||||
redir /.well-known/carddav /remote.php/dav 301
|
||||
|
|
Loading…
Reference in New Issue