Commit 00fa1f6c authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Łukasz Nowak

seleniumserver: Be catch-all on the frontend

The IP used by frontend can be different than the real endpoint, and unknown
for the frontend itself, so make it catch-all to allow access.

/reviewed-on nexedi/slapos!497
parent c1595bae
......@@ -19,4 +19,4 @@ md5sum = c4ac5de141ae6a64848309af03e51d88
[template-selenium]
filename = instance-selenium.cfg.in
md5sum = 8e6b9629c1489559ec88a67d7b1bdf41
md5sum = fe248a36cd1908fb04b2cbb334c878ff
......@@ -114,8 +114,10 @@ bytes = 12
[selenium-server-frontend-config]
recipe = slapos.recipe.template:jinja2
rendered = $${directory:etc}/$${:_buildout_section_name_}
# Catch-all simple frontend, as it can serve on different interface then accessed one, by
# using "*" as hostname
template = inline:
https://$${:hostname}:$${:port} {
https://*:$${:port} {
bind $${:ip}
tls self_signed # TODO
proxy / $${selenium-server-hub-instance:base-url} {
......
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