Commit 9a2ae10b authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner : shellinabox is protected through basic auth,

in the same way as cloud9
parent fa432b26
......@@ -69,6 +69,8 @@ http {
location /shellinabox {
proxy_pass http://[::1]:{{ shellinabox_port }}/;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
auth_basic "Restricted";
auth_basic_user_file /srv/slapgrid/slappart6/etc//.htpasswd;
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $host;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment