20 lines
570 B
Plaintext
20 lines
570 B
Plaintext
|
<IfModule mod_ssl.c>
|
||
|
<VirtualHost _default_:443>
|
||
|
ServerAdmin root@localhost
|
||
|
DocumentRoot /var/www/html
|
||
|
ErrorLog ${APACHE_LOG_DIR}/ssl_error.log
|
||
|
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
|
||
|
SSLEngine on
|
||
|
SSLCertificateFile /etc/apache2/fullchain.pem
|
||
|
SSLCertificateKeyFile /etc/apache2/privkey.pem
|
||
|
Redirect "^/$" https://{{ inventory_hostname }}/icingaweb2
|
||
|
<FilesMatch "\.(cgi|shtml|phtml|php)$">
|
||
|
SSLOptions +StdEnvVars
|
||
|
</FilesMatch>
|
||
|
<Directory /usr/lib/cgi-bin>
|
||
|
SSLOptions +StdEnvVars
|
||
|
</Directory>
|
||
|
</VirtualHost>
|
||
|
</IfModule>
|
||
|
|