Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
piops-roles
install_nextcloud
Commits
2e3da612
Commit
2e3da612
authored
May 12, 2020
by
Dosenpfand
Browse files
Add option to set TLS cache size
parent
798606cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
2e3da612
...
...
@@ -336,6 +336,10 @@ Defines various method for retrieving a TLS certificate.
nextcloud_tls_cert_chain: /path/to/cert/chain
# ^remote absolute path to the certificate's full chain- used only by apache - Optional
```
```
YAML
nextcloud_tls_session_cache_size: 50m
```
Set the size of the shared nginx TLS session cache to 50 MB.
### System configuration
...
...
defaults/main.yml
View file @
2e3da612
...
...
@@ -80,6 +80,7 @@ nextcloud_hsts: false # recommended >= 15552000
# nextcloud_tls_cert_chain: /path/to/cert/chain
# nextcloud_tls_src_cert: /path/to/cert
# nextcloud_tls_src_cert_key: /path/to/cert/key
nextcloud_tls_session_cache_size
:
50m
# in Byte or human readable size notation (g|m|k)
# [APPS]
nextcloud_apps
:
{}
...
...
templates/nginx_nc.j2
View file @
2e3da612
...
...
@@ -32,7 +32,7 @@ server {
ssl_certificate {{ nextcloud_tls_cert_file }};
ssl_certificate_key {{ nextcloud_tls_cert_key_file }};
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:
50m
;
ssl_session_cache shared:SSL:
{{ nextcloud_tls_session_cache_size }}
;
# ssl_session_tickets off;
ssl_stapling on;
ssl_stapling_verify on;
...
...
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