== SaferSharing ==
To avoid legal steps because you are hosting to everyone:
* get nginx with auth_base
* proxy around
* modify your fw a bit
==== config nginx ====
as root
server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; root /usr/share/nginx/html; index index.html index.htm; # Make site accessible from http://localhost/ server_name localhost; location / { auth_basic "Sharing is Caring"; auth_basic_user_file /etc/nginx/htpasswd; proxy_pass http://localhost:8000; proxy_buffering off; } }
user:yoursavepasswordIn addition we used
main :: IO () main = app >>= runSettings (defaultSettings { settingsHost = HostIPv6 , settingsPort = 8000 , ... })==== modify iptables ==== as root