diff options
author | makefu <github@syntax-fehler.de> | 2016-12-24 23:43:25 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-12-24 23:43:25 +0100 |
commit | f2731979702efb186ec6b7384f11df5cc3518734 (patch) | |
tree | de748e99614f6c41b1d614d85cef763aa8fe243d /makefu/2configs | |
parent | ae8c48c2c4512b290e213c9c998a7c602453eb5c (diff) |
m 2 omo-share: disable nginx sharing
Diffstat (limited to 'makefu/2configs')
-rw-r--r-- | makefu/2configs/omo-share.nix | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/makefu/2configs/omo-share.nix b/makefu/2configs/omo-share.nix index f2ed42230..d1a9fabd7 100644 --- a/makefu/2configs/omo-share.nix +++ b/makefu/2configs/omo-share.nix @@ -7,38 +7,6 @@ let local-ip = "192.168.1.11"; # local-ip = config.krebs.build.host.nets.retiolum.ip4.addr; in { - krebs.nginx = { - enable = mkDefault true; - servers = { - omo-share = { - listen = [ "${local-ip}:80" ]; - locations = singleton (nameValuePair "/" '' - - access_log off; - # sendfile off; - # tcp_nopush on; - # aio on; - sendfile on; - sendfile_max_chunk 512k; - directio 512; - mp4; - autoindex on; - root /media; - limit_rate_after 100m; - limit_rate 5m; - mp4_buffer_size 4M; - mp4_max_buffer_size 10M; - allow all; - access_log off; - keepalive_timeout 65; - keepalive_requests 200; - reset_timedout_connection on; - tcp_nopush on; - gzip off; - ''); - }; - }; - }; # samba share /media/crypt1/share users.users.smbguest = { @@ -68,6 +36,12 @@ in { browseable = "yes"; "guest ok" = "yes"; }; + pyload = { + path = "/media/crypt0/pyload"; + "read only" = "yes"; + browseable = "yes"; + "guest ok" = "yes"; + }; crypt0-rw = { path = "/media/crypt0/"; "read only" = "no"; |