diff options
author | lassulus <lass@lassul.us> | 2016-12-25 12:13:49 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2016-12-25 12:13:49 +0100 |
commit | 9224478adf54f7f65c7e8565c846160b2f0ea467 (patch) | |
tree | ca477dd5d011581da0b3796f30c842c9fdddf214 /makefu/2configs/omo-share.nix | |
parent | 8f16b738c75f25738ca94f146d84c5cc5ec7eaa3 (diff) | |
parent | 1eceb8ac46fd1cebbb5091a50359e4863efdaf42 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/omo-share.nix')
-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"; |