Update webservices.nix
This commit is contained in:
parent
3de3274574
commit
f409414925
1 changed files with 3 additions and 5 deletions
|
|
@ -17,18 +17,16 @@
|
|||
"/var/lib/nginx-proxy-manager/data:/data"
|
||||
"/var/lib/nginx-proxy-manager/letsencrypt:/etc/letsencrypt"
|
||||
];
|
||||
extraOptions = [
|
||||
"--restart=unless-stopped"
|
||||
];
|
||||
# Remove the extraOptions with --restart, it conflicts with --rm
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# Create directories
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/nginx-proxy-manager/data 0755 root root -"
|
||||
"d /var/lib/nginx-proxy-manager/letsencrypt 0755 root root -"
|
||||
];
|
||||
|
||||
|
||||
# Open firewall
|
||||
networking.firewall.allowedTCPPorts = [ 80 81 443 ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue