Don't use a public directory, instead add syncthing to the group.

This commit is contained in:
Nolan Darilek 2025-03-30 17:54:31 -05:00
parent f939193442
commit 09822c30be

View file

@ -13,9 +13,7 @@
PAPERLESS_USE_X_FORWARD_PORT = true;
PAPERLESS_REDIRECT_LOGIN_TO_SSO = true;
};
consumptionDirIsPublic = true;
};
caddy.virtualHosts."paperless.tailc50184.ts.net".extraConfig = ''
bind tailscale/paperless
forward_auth localhost:9091 {
@ -25,4 +23,5 @@
reverse_proxy localhost:28981
'';
};
users.users.syncthing.extraGroups = [ "paperless" ];
}