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
Xiaohe Cao
slapos
Commits
46b7d026
Commit
46b7d026
authored
Feb 23, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable SSLSessionCache inside a shared memory segment in RAM for better performance in HTTPS.
parent
17c82b70
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
1 deletion
+6
-1
slapos/recipe/apache_zope_backend/__init__.py
slapos/recipe/apache_zope_backend/__init__.py
+1
-0
slapos/recipe/apache_zope_backend/template/apache.zope.conf.in
...s/recipe/apache_zope_backend/template/apache.zope.conf.in
+1
-0
slapos/recipe/apache_zope_backend/template/snippet.ssl.in
slapos/recipe/apache_zope_backend/template/snippet.ssl.in
+1
-1
slapos/recipe/davstorage/template/httpd.conf.in
slapos/recipe/davstorage/template/httpd.conf.in
+1
-0
slapos/recipe/erp5/template/apache.zope.conf.in
slapos/recipe/erp5/template/apache.zope.conf.in
+1
-0
software/erp5/snippet-backend.cfg
software/erp5/snippet-backend.cfg
+1
-0
No files found.
slapos/recipe/apache_zope_backend/__init__.py
View file @
46b7d026
...
@@ -46,6 +46,7 @@ class Recipe(GenericBaseRecipe):
...
@@ -46,6 +46,7 @@ class Recipe(GenericBaseRecipe):
required_path_list
=
[
key
,
certificate
]
required_path_list
=
[
key
,
certificate
]
apache_conf
[
'key'
]
=
key
apache_conf
[
'key'
]
=
key
apache_conf
[
'certificate'
]
=
certificate
apache_conf
[
'certificate'
]
=
certificate
apache_conf
[
'ssl_session_cache'
]
=
self
.
options
[
'ssl-session-cache'
]
apache_conf
[
'ssl_snippet'
]
=
pkg_resources
.
resource_string
(
__name__
,
apache_conf
[
'ssl_snippet'
]
=
pkg_resources
.
resource_string
(
__name__
,
'template/snippet.ssl.in'
)
%
apache_conf
'template/snippet.ssl.in'
)
%
apache_conf
else
:
else
:
...
...
slapos/recipe/apache_zope_backend/template/apache.zope.conf.in
View file @
46b7d026
...
@@ -11,6 +11,7 @@ LoadModule setenvif_module modules/mod_setenvif.so
...
@@ -11,6 +11,7 @@ LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule version_module modules/mod_version.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule mime_module modules/mod_mime.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_module modules/mod_dav.so
...
...
slapos/recipe/apache_zope_backend/template/snippet.ssl.in
View file @
46b7d026
...
@@ -8,5 +8,5 @@ SSLRandomSeed connect builtin
...
@@ -8,5 +8,5 @@ SSLRandomSeed connect builtin
SSLProtocol -ALL +SSLv3 +TLSv1
SSLProtocol -ALL +SSLv3 +TLSv1
SSLHonorCipherOrder On
SSLHonorCipherOrder On
SSLCipherSuite RC4-SHA:HIGH:!ADH
SSLCipherSuite RC4-SHA:HIGH:!ADH
SSLSessionCache shmcb:%(ssl_session_cache)s(512000)
SSLProxyEngine On
SSLProxyEngine On
slapos/recipe/davstorage/template/httpd.conf.in
View file @
46b7d026
...
@@ -14,6 +14,7 @@ LoadModule auth_digest_module "%(modules_dir)s/mod_auth_digest.so"
...
@@ -14,6 +14,7 @@ LoadModule auth_digest_module "%(modules_dir)s/mod_auth_digest.so"
LoadModule log_config_module "%(modules_dir)s/mod_log_config.so"
LoadModule log_config_module "%(modules_dir)s/mod_log_config.so"
LoadModule headers_module "%(modules_dir)s/mod_headers.so"
LoadModule headers_module "%(modules_dir)s/mod_headers.so"
LoadModule setenvif_module "%(modules_dir)s/mod_setenvif.so"
LoadModule setenvif_module "%(modules_dir)s/mod_setenvif.so"
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule ssl_module "%(modules_dir)s/mod_ssl.so"
LoadModule ssl_module "%(modules_dir)s/mod_ssl.so"
LoadModule mime_module "%(modules_dir)s/mod_mime.so"
LoadModule mime_module "%(modules_dir)s/mod_mime.so"
LoadModule dav_module "%(modules_dir)s/mod_dav.so"
LoadModule dav_module "%(modules_dir)s/mod_dav.so"
...
...
slapos/recipe/erp5/template/apache.zope.conf.in
View file @
46b7d026
...
@@ -11,6 +11,7 @@ LoadModule setenvif_module modules/mod_setenvif.so
...
@@ -11,6 +11,7 @@ LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule version_module modules/mod_version.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule mime_module modules/mod_mime.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_module modules/mod_dav.so
...
...
software/erp5/snippet-backend.cfg
View file @
46b7d026
...
@@ -26,6 +26,7 @@ configuration-file = $${directory:apache-conf}/apache-%(backend_name)s.conf
...
@@ -26,6 +26,7 @@ configuration-file = $${directory:apache-conf}/apache-%(backend_name)s.conf
access-control-string = %(access_control_string)s
access-control-string = %(access_control_string)s
pid-file = $${basedirectory:run}/apache-%(backend_name)s.pid
pid-file = $${basedirectory:run}/apache-%(backend_name)s.pid
lock-file = $${basedirectory:run}/apache-%(backend_name)s.lock
lock-file = $${basedirectory:run}/apache-%(backend_name)s.lock
ssl-session-cache = $${basedirectory:log}/apache-ssl-session-cache
error-log = $${basedirectory:log}/apache-%(backend_name)s-error.log
error-log = $${basedirectory:log}/apache-%(backend_name)s-error.log
access-log = $${basedirectory:log}/apache-%(backend_name)s-access.log
access-log = $${basedirectory:log}/apache-%(backend_name)s-access.log
apache-binary = ${apache:location}/bin/httpd
apache-binary = ${apache:location}/bin/httpd
...
...
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