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
38451731
Commit
38451731
authored
Jul 12, 2019
by
Aalaesar
Browse files
fixed apache template
parent
0634ebee
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/apache2_nc.j2
View file @
38451731
...
...
@@ -17,11 +17,9 @@
ServerAlias {{ nextcloud_trusted_domain[index]}}
{% endfor %}
DocumentRoot {{ nextcloud_webroot }}
{%- if nextcloud_max_upload_size_in_bytes <= 2147483647 %}
{% if (nextcloud_max_upload_size_in_bytes|int) <= 2147483647-%}
LimitRequestBody {{ nextcloud_max_upload_size_in_bytes }}
{% endif -%}
<Directory {{ nextcloud_webroot }}>
Allow from all
Satisfy Any
...
...
@@ -46,11 +44,9 @@
ServerAlias {{ nextcloud_trusted_domain[index]}}
{% endfor %}
DocumentRoot {{ nextcloud_webroot }}
{%- if nextcloud_max_upload_size_in_bytes <= 2147483647 %}
{% if (nextcloud_max_upload_size_in_bytes|int) <= 2147483647-%}
LimitRequestBody {{ nextcloud_max_upload_size_in_bytes }}
{% endif -%}
SSLEngine on
SSLCertificateFile {{ nextcloud_tls_cert_file }}
SSLCertificateKeyFile {{ nextcloud_tls_cert_key_file }}
...
...
Write
Preview
Supports
Markdown
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