Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
fa432b26
Commit
fa432b26
authored
Sep 30, 2013
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slaprunner: shellinabox now only listens to localhost.
It is reachable through the reverse proxy only
parent
db3f076a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+1
-1
software/slaprunner/nginx_conf.in
software/slaprunner/nginx_conf.in
+1
-1
No files found.
software/slaprunner/instance-runner.cfg
View file @
fa432b26
...
@@ -452,7 +452,7 @@ context =
...
@@ -452,7 +452,7 @@ context =
[shellinabox]
[shellinabox]
recipe = slapos.cookbook:shellinabox
recipe = slapos.cookbook:shellinabox
ipv6 =
$${slap-network-information:global-ipv6}
ipv6 =
::1
port = 8080
port = 8080
shell = $${shell:wrapper}
shell = $${shell:wrapper}
wrapper = $${buildout:directory}/bin/shellinaboxd
wrapper = $${buildout:directory}/bin/shellinaboxd
...
...
software/slaprunner/nginx_conf.in
View file @
fa432b26
...
@@ -67,7 +67,7 @@ http {
...
@@ -67,7 +67,7 @@ http {
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
}
}
location /shellinabox {
location /shellinabox {
proxy_pass http://
{{ param_nginx_frontend['global-ip'] }}
:{{ shellinabox_port }}/;
proxy_pass http://
[::1]
:{{ shellinabox_port }}/;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;
proxy_redirect off;
proxy_buffering off;
proxy_buffering off;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment