paperless accessible via wireguard
This commit is contained in:
parent
18a10f569f
commit
7e05a9438b
1 changed files with 4 additions and 0 deletions
|
@ -1,7 +1,11 @@
|
|||
{ config, ... }: {
|
||||
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
networking.firewall.interfaces.wg0.allowedTCPPorts = [ config.services.paperless.port ];
|
||||
|
||||
services.nginx.virtualHosts."paperless.${config.networking.hostName}.private" = {
|
||||
extraConfig = ''
|
||||
allow ${config.tinc.private.subnet};
|
||||
|
|
Loading…
Reference in a new issue