Closed c3o closed 8 years ago
http://wanderlust.i-kiu.at/mitmachen/aktiv-werden/mitmachen/ same thing like here?
Done. Ask in slack (or me) for an account.
Howto setup: http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html
Howto add user:
Create password with mkpasswd
.
Add user/password to /etc/nginx/htpasswd
.
fyi: re-obened /api, otherweise the bot is broken ;-)
location / {
try_files $uri @proxy_to_app;
auth_basic 'anthill demo';
auth_basic_user_file /etc/nginx/htpasswd;
}
location /api/ {
try_files /api/$uri @proxy_to_app;
auth_basic off;
}
Simple shared HTTP basic auth in front of the whole thing?