Commit 831da341 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

html5as: Add frontend request

parent cdc7f822
...@@ -112,6 +112,18 @@ mode = 700 ...@@ -112,6 +112,18 @@ mode = 700
context = context =
section param_html5as html5as section param_html5as html5as
[apache-frontend]
<= slap-connection
recipe = slapos.cookbook:requestoptional
name = HTML5AS Frontend
# XXX We have hardcoded SR URL here.
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
slave = true
config-url = $${html5as:access_url}
config-https-only = true
return = domain secure_access
[publish-connection-information] [publish-connection-information]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
server_url = $${html5as:access_url} server_url = $${html5as:access_url}
ipv4_access = $${apache-frontend:connection-secure_access}
  • @cedric.leninivin FYI when doing this we also need to add a promise. Otherwise the instance appears as "ready" even when the frontend is not ready and published URL is "None"), see 63ded57b or 15f92079

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