mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 02:45:09 +01:00
16 lines
468 B
Text
16 lines
468 B
Text
|
<VirtualHost *:80>
|
||
|
Redirect / https://${SERVER_NAME}
|
||
|
</VirtualHost>
|
||
|
|
||
|
<VirtualHost *:443>
|
||
|
ServerAdmin webmaster@localhost
|
||
|
DocumentRoot /var/www/html
|
||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||
|
SSLEngine on
|
||
|
SSLCertificateFile /etc/apache2/ssl/ca.crt
|
||
|
SSLCertificateKeyFile /etc/apache2/ssl/ca.key
|
||
|
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
||
|
</VirtualHost>
|
||
|
|