v1/vendor/chi-teck/drupal-code-generator/templates/misc/apache-virtual-host/host-ssl.twig

24 lines
549 B
Twig

<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName {{ hostname }}
ServerAlias www.{{ hostname }}
DocumentRoot {{ docroot }}
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory {{ docroot }}>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
SSLEngine on
SSLCertificateFile /etc/ssl/certs/localhost.crt
SSLCertificateKeyFile /etc/ssl/private/localhost.key
</VirtualHost>
</IfModule>