mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 02:45:09 +01:00
Changes to be committed: new file: .config/000-default.conf new file: 13.0/apache/config/000-default.conf new file: 13.0/fpm-alpine/config/000-default.conf new file: 13.0/fpm/config/000-default.conf new file: 14.0/apache/config/000-default.conf new file: 14.0/fpm-alpine/config/000-default.conf new file: 14.0/fpm/config/000-default.conf new file: 15.0/apache/config/000-default.conf new file: 15.0/fpm-alpine/config/000-default.conf new file: 15.0/fpm/config/000-default.conf Signed-off-by: marceljd <support@dihosting.ch>
15 lines
468 B
Text
15 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>
|
|
|