Don't use a public directory, instead add syncthing to the group.
This commit is contained in:
parent
f939193442
commit
09822c30be
1 changed files with 1 additions and 2 deletions
|
@ -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" ];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue