Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- {{ ansible_managed | comment }}
-
- <VirtualHost *:443>
-
- ServerName {{nextcloud_server_names|first}}
- {% for name in nextcloud_server_names | difference([nextcloud_server_names|first]) %}
- ServerAlias {{name}}
- {% endfor %}
-
- SSLEngine on
- SSLCertificateFile "/etc/ssl/certs/nextcloud.cert.pem"
- SSLCertificateChainFile "/etc/ssl/certs/nextcloud.chain.pem"
- SSLCertificateKeyFile "/etc/ssl/private/nextcloud.key.pem"
- {% if certificate_provider == "letsencrypt" %}
- Include /etc/letsencrypt/options-ssl-apache.conf
- {% endif %}
-
- DocumentRoot /var/www/nextcloud
-
- <Directory /var/www/nextcloud/>
-
- Options +FollowSymlinks
- AllowOverride All
-
- <IfModule mod_dav.c>
- Dav off
- </IfModule>
-
- SetEnv HOME /var/www/nextcloud
- SetEnv HTTP_HOME /var/www/nextcloud
-
- </Directory>
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-
- </VirtualHost>
-
- <VirtualHost *:80>
-
- ServerName {{nextcloud_server_names|first}}
- {% for name in nextcloud_server_names | difference(nextcloud_server_names|first) %}
- ServerAlias {{name}}
- {% endfor %}
-
- RewriteEngine On
- RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
-
- </VirtualHost>
|