Commit 0d938638 authored by Jérome Perrin's avatar Jérome Perrin

fixup! shellinabox: use shellinabox/shellinabox from github

parent 370bd184
......@@ -98,7 +98,7 @@ mode = 0644
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/nginx_conf.in
download-only = true
md5sum = de35f1db63d6a1f49be40193915fef9d
md5sum = 03464a14bb228a12c3e0241c3356a13b
filename = nginx_conf.in
mode = 0644
......
......@@ -529,13 +529,12 @@ template = inline:
exec ${shellinabox:location}/bin/shellinaboxd \
--disable-ssl \
--disable-ssl-menu \
--socket=$${:socket} \
--service "/:$(id -u):$(id -g):HOME:$${shell:wrapper}" \
--user-css "Black on White":+${shellinabox:location}/share/doc/shellinabox/black-on-white.css,"White on Black":-${shellinabox:location}/share/doc/shellinabox/white-on-black.css
--unixdomain-only=$${:socket}:$(id -u):$(id -g):0600 \
--service "/:$(id -u):$(id -g):HOME:$${shell:wrapper}"
[shell]
recipe = slapos.cookbook:shell
wrapper = $${directory:bin}/sh
wrapper = $${directory:bin}/bash
shell = ${bash:location}/bin/bash
home = $${buildout:directory}
path = $${environ:PATH}:/usr/bin:/bin/:${nano:location}/bin:${vim:location}/bin:${screen:location}/bin:${git:location}/bin:${tig:location}/bin
......
......@@ -65,7 +65,6 @@ http {
auth_basic_user_file {{ param_nginx_frontend['etc_dir'] }}/.htpasswd;
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
......
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