Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
a80dfe32
Commit
a80dfe32
authored
Jan 03, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update frontend documentation (examples)
parent
afc856ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
+31
-2
software/apache-frontend/README.apache_frontend.txt
software/apache-frontend/README.apache_frontend.txt
+31
-2
No files found.
software/apache-frontend/README.apache_frontend.txt
View file @
a80dfe32
...
@@ -103,6 +103,35 @@ VirtualHostMonster.
...
@@ -103,6 +103,35 @@ VirtualHostMonster.
Example of value: "/erp5/web_site_module/hosting/"
Example of value: "/erp5/web_site_module/hosting/"
Simple Example
==============
Request slave frontend instance::
instance = request(
software_release=apache_frontend,
partition_reference='my frontend',
shared=True,
partition_parameter_kw={
"url":"https://[1:2:3:4:5:6:7:8]:1234",
}
)
Zope Example
============
Request slave frontend instance using a Zope backend::
instance = request(
software_release=apache_frontend,
partition_reference='my frontend',
shared=True,
partition_parameter_kw={
"url":"https://[1:2:3:4:5:6:7:8]:1234",
"type":"zope",
}
)
Advanced example
Advanced example
================
================
...
@@ -110,10 +139,10 @@ Request slave frontend instance using a Zope backend, with Varnish activated,
...
@@ -110,10 +139,10 @@ Request slave frontend instance using a Zope backend, with Varnish activated,
listening to a custom domain and redirecting to /erp5/::
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='
my frontend
',
shared=True,
shared=True,
partition_parameter_kw={
partition_parameter_kw={
"url":"https://[1:2:3:4
]:1234/someresource
",
"url":"https://[1:2:3:4
:5:6:7:8]:1234
",
"cache":"true",
"cache":"true",
"type":"zope",
"type":"zope",
"path":"/erp5",
"path":"/erp5",
...
...
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