Update frontend documentation about path

parent bbef1964
...@@ -92,11 +92,22 @@ Domain name to use as frontend. The frontend will be accessible from this domain ...@@ -92,11 +92,22 @@ Domain name to use as frontend. The frontend will be accessible from this domain
Example: www.mycustomdomain.com Example: www.mycustomdomain.com
path
~~~~
Only used if type is "zope".
Will append the specified path to the "VirtualHostRoot" of the zope's
VirtualHostMonster.
"path" is an optional parameter, ignored if not specified.
Example of value: "/erp5/web_site_module/hosting/"
Advanced example Advanced example
================ ================
Request slave frontend instance using a Zope backend, with Varnish activated, Request slave frontend instance using a Zope backend, with Varnish activated,
listening to a custom domain:: listening to a custom domain and redirecting to /erp5/::
instance = request( instance = request(
software_release=apache_frontend, software_release=apache_frontend,
partition_reference='frontend2', partition_reference='frontend2',
...@@ -105,6 +116,7 @@ listening to a custom domain:: ...@@ -105,6 +116,7 @@ listening to a custom domain::
"url":"https://[1:2:3:4]:1234/someresource", "url":"https://[1:2:3:4]:1234/someresource",
"cache":"true", "cache":"true",
"type":"zope", "type":"zope",
"path":"/erp5",
"custom_domain":"mycustomdomain.com", "custom_domain":"mycustomdomain.com",
} }
) )
......
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