21 lines
635 B
Plaintext
21 lines
635 B
Plaintext
# Apache SSL внутри контейнера Nextcloud
|
||
# Сертификаты монтируются с хоста в /etc/ssl/nextcloud/
|
||
|
||
<VirtualHost *:443>
|
||
ServerName localhost
|
||
DocumentRoot /var/www/html
|
||
|
||
SSLEngine on
|
||
SSLCertificateFile /etc/ssl/nextcloud/fullchain.pem
|
||
SSLCertificateKeyFile /etc/ssl/nextcloud/privkey.pem
|
||
|
||
<Directory /var/www/html/>
|
||
Require all granted
|
||
AllowOverride All
|
||
Options FollowSymLinks MultiViews
|
||
</Directory>
|
||
|
||
ErrorLog ${APACHE_LOG_DIR}/nextcloud_ssl_error.log
|
||
CustomLog ${APACHE_LOG_DIR}/nextcloud_ssl_access.log combined
|
||
</VirtualHost>
|