Expose webdav both on the LAN and the VPN
This commit is contained in:
parent
64425bd447
commit
37e55bb342
1 changed files with 3 additions and 2 deletions
|
@ -19,15 +19,16 @@
|
||||||
systemd.services.nfs-server.preStart = ''
|
systemd.services.nfs-server.preStart = ''
|
||||||
chmod -R 775 /export/hd/torrent
|
chmod -R 775 /export/hd/torrent
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.webdav = {
|
services.webdav = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
address = "10.1.1.2"; # accessible only in LAN, used by Kodi installed on the TV
|
address = "0.0.0.0";
|
||||||
port = 9999;
|
port = 9999;
|
||||||
scope = "/mnt/hd/torrent";
|
scope = "/mnt/hd/torrent";
|
||||||
modify = false;
|
modify = false;
|
||||||
auth = false; # TODO should we enable authentication? It's only reachable in LAN
|
auth = false;
|
||||||
debug = true;
|
debug = true;
|
||||||
users = [ ];
|
users = [ ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue