2024-10-21 14:18:05 +02:00
|
|
|
Listen {{ env.VMEDIA_TLS_PORT }}
|
|
|
|
|
|
|
|
<VirtualHost *:{{ env.VMEDIA_TLS_PORT }}>
|
|
|
|
ErrorLog /dev/stderr
|
|
|
|
LogLevel debug
|
|
|
|
CustomLog /dev/stdout combined
|
|
|
|
|
|
|
|
SSLEngine on
|
|
|
|
SSLProtocol {{ env.IRONIC_VMEDIA_SSL_PROTOCOL }}
|
|
|
|
SSLCertificateFile {{ env.IRONIC_VMEDIA_CERT_FILE }}
|
|
|
|
SSLCertificateKeyFile {{ env.IRONIC_VMEDIA_KEY_FILE }}
|
|
|
|
|
2024-11-12 19:44:52 +01:00
|
|
|
<Directory ~ "/shared/html">
|
|
|
|
Order deny,allow
|
|
|
|
deny from all
|
|
|
|
</Directory>
|
|
|
|
<Directory ~ "/shared/html/(redfish|ilo)/">
|
|
|
|
Order allow,deny
|
|
|
|
allow from all
|
|
|
|
</Directory>
|
|
|
|
<Directory ~ "/shared/html/images/">
|
|
|
|
Order allow,deny
|
|
|
|
allow from all
|
2024-10-21 14:18:05 +02:00
|
|
|
</Directory>
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
<Location ~ "^/(redfish|ilo)/">
|
|
|
|
SSLRequireSSL
|
|
|
|
</Location>
|