Commit fda026ef by Cédric Le Ninivin

html5as: Default path available as a parameter

1 parent 471bcbee
......@@ -66,7 +66,7 @@ path_access_log = $${basedirectory:log}/nginx.access.log
path_error_log = $${basedirectory:log}/nginx.error.log
path_tmp = $${buildout:directory}/tmp
# Docroot
docroot = $${basedirectory:data}
docroot = $${basedirectory:data}/$${slap-parameter:default-path}
default_index = $${basedirectory:data}/index.html
# Config files
path_nginx_conf = $${rootdirectory:etc}/nginx.conf
......@@ -114,3 +114,7 @@ context =
[publish-connection-information]
recipe = slapos.cookbook:publish
server_url = http://[$${html5as:ip}]:$${html5as:port}
# Define default values of parameters here
[slap-parameter]
default-path =
......@@ -31,7 +31,7 @@ mode = 0644
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance_html5as.cfg
output = ${buildout:directory}/template_html5as.cfg
md5sum = 41cb6178f760238ca276854873ef9364
md5sum = 91d6e7fc3465d0eba1d7dfe9ebb03206
mode = 0644
[template_nginx_conf]
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!