Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kasra Jamshidi
slapos
Commits
e481f943
Commit
e481f943
authored
Dec 07, 2016
by
Kasra Jamshidi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://lab.nexedi.com/kasra/slapos
parents
5658863b
34b739eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
software/apache-frontend/README.apache_frontend.rst
software/apache-frontend/README.apache_frontend.rst
+1
-8
No files found.
software/apache-frontend/README.apache_frontend.rst
View file @
e481f943
...
@@ -257,6 +257,7 @@ Simple Example
...
@@ -257,6 +257,7 @@ Simple Example
---------------
---------------
Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
instance = request(
instance = request(
software_release=apache_frontend,
software_release=apache_frontend,
software_type="RootSoftwareInstance",
software_type="RootSoftwareInstance",
...
@@ -265,7 +266,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
...
@@ -265,7 +266,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
software_type="custom-personal",
software_type="custom-personal",
partition_parameter_kw={
partition_parameter_kw={
"url":"https://[1:2:3:4:5:6:7:8]:1234",
"url":"https://[1:2:3:4:5:6:7:8]:1234",
"apache_custom_https":'
"apache_custom_https":'
ServerName www.example.org
ServerName www.example.org
ServerAlias example.org
ServerAlias example.org
...
@@ -278,7 +278,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
...
@@ -278,7 +278,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
ProxyTimeout 600
ProxyTimeout 600
RewriteEngine On
RewriteEngine On
RewriteRule ^/(.*) https://[1:2:3:4:5:6:7:8]:1234/$1 [L,P]',
RewriteRule ^/(.*) https://[1:2:3:4:5:6:7:8]:1234/$1 [L,P]',
"apache_custom_http":'
"apache_custom_http":'
ServerName www.example.org
ServerName www.example.org
ServerAlias www.example.org
ServerAlias www.example.org
...
@@ -313,7 +312,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
...
@@ -313,7 +312,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
"url":"https://[1:2:3:4:5:6:7:8]:1234",
"url":"https://[1:2:3:4:5:6:7:8]:1234",
"domain": "www.example.org",
"domain": "www.example.org",
"enable_cache": "True",
"enable_cache": "True",
"apache_custom_https":'
"apache_custom_https":'
ServerName www.example.org
ServerName www.example.org
ServerAlias www.example.org
ServerAlias www.example.org
...
@@ -327,7 +325,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
...
@@ -327,7 +325,6 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
ProxyTimeout 600
ProxyTimeout 600
RewriteEngine On
RewriteEngine On
RewriteRule ^/(.*) %(cache_access)s/$1 [L,P]',
RewriteRule ^/(.*) %(cache_access)s/$1 [L,P]',
"apache_custom_http":'
"apache_custom_http":'
ServerName www.example.org
ServerName www.example.org
ServerAlias www.example.org
ServerAlias www.example.org
...
@@ -339,10 +336,8 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
...
@@ -339,10 +336,8 @@ Request slave frontend instance so that https://[1:2:3:4:5:6:7:8]:1234 will be
ProxyPreserveHost On
ProxyPreserveHost On
ProxyTimeout 600
ProxyTimeout 600
RewriteEngine On
RewriteEngine On
# Remove "Secure" from cookies, as backend may be https
# Remove "Secure" from cookies, as backend may be https
Header edit Set-Cookie "(?i)^(.+);secure$" "$1"
Header edit Set-Cookie "(?i)^(.+);secure$" "$1"
# Not using HTTPS? Ask that guy over there.
# Not using HTTPS? Ask that guy over there.
# Dummy redirection to https. Note: will work only if https listens
# Dummy redirection to https. Note: will work only if https listens
# on standard port (443).
# on standard port (443).
...
@@ -370,7 +365,6 @@ the proxy::
...
@@ -370,7 +365,6 @@ the proxy::
"type":"zope",
"type":"zope",
"path":"/erp5",
"path":"/erp5",
"domain":"example.org",
"domain":"example.org",
"apache_custom_https":'
"apache_custom_https":'
ServerName www.example.org
ServerName www.example.org
ServerAlias www.example.org
ServerAlias www.example.org
...
@@ -399,7 +393,6 @@ the proxy::
...
@@ -399,7 +393,6 @@ the proxy::
RewriteRule ^/$ /index.html [R=302,L]
RewriteRule ^/$ /index.html [R=302,L]
# Use cache
# Use cache
RewriteRule ^/(.*) %(cache_access)s/VirtualHostBase/https/www.example.org:443/erp5/VirtualHostRoot/$1 [L,P]',
RewriteRule ^/(.*) %(cache_access)s/VirtualHostBase/https/www.example.org:443/erp5/VirtualHostRoot/$1 [L,P]',
"apache_custom_http":'
"apache_custom_http":'
ServerName www.example.org
ServerName www.example.org
ServerAlias www.example.org
ServerAlias www.example.org
...
...
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