From: Oliver Böttcher Date: Fri, 20 Jul 2018 10:16:24 +0000 (+0200) Subject: MBVD-ODT - disable directory listing X-Git-Tag: v0.1.0~557 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=742a85b6b6a68338dc733b0c97e3f6f351122bae;p=pixelpark%2Fhiera.git MBVD-ODT - disable directory listing --- diff --git a/customer/mbvd-odt/int-tmp-cms-odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/int-tmp-cms-odt-daimler-com.pixelpark.net.yaml index 91cdbea1..8f022e2e 100644 --- a/customer/mbvd-odt/int-tmp-cms-odt-daimler-com.pixelpark.net.yaml +++ b/customer/mbvd-odt/int-tmp-cms-odt-daimler-com.pixelpark.net.yaml @@ -39,7 +39,8 @@ infra::profile::apache::pp_vhosts: ssl_chain: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' custom_fragment: | ProxyTimeout 3600 - rewrites: + options: + - '-Indexes' rewrites_non_ssl: - opencms_to_slash_http: comment: '/opencms to /' @@ -93,6 +94,8 @@ infra::profile::apache::pp_vhosts: ssl_cert: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' ssl_key: '/etc/apache2/ssl.key/wildcard.pixelpark.net-key.pem' ssl_chain: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' + options: + - '-Indexes' rewrites_non_ssl: - opencms_to_slash: comment: '/opencms to /' @@ -162,6 +165,8 @@ infra::profile::apache::pp_vhosts: ssl_cert: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' ssl_key: '/etc/apache2/ssl.key/wildcard.pixelpark.net-key.pem' ssl_chain: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' + options: + - '-Indexes' rewrites_non_ssl: - opencms_to_slash: comment: '/opencms to /' @@ -231,6 +236,8 @@ infra::profile::apache::pp_vhosts: ssl_cert: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' ssl_key: '/etc/apache2/ssl.key/wildcard.pixelpark.net-key.pem' ssl_chain: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' + options: + - '-Indexes' rewrites_non_ssl: - opencms_to_slash: comment: '/opencms to /' @@ -299,6 +306,8 @@ infra::profile::apache::pp_vhosts: ssl_key: '/etc/apache2/ssl.key/wildcard.pixelpark.net-key.pem' ssl_chain: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' proxy_preserve_host: true + options: + - '-Indexes' rewrites_non_ssl: - https: comment: 'all to https' @@ -317,6 +326,8 @@ infra::profile::apache::pp_vhosts: ssl_cert: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' ssl_key: '/etc/apache2/ssl.key/wildcard.pixelpark.net-key.pem' ssl_chain: '/etc/apache2/ssl.crt/wildcard.pixelpark.net-cert.pem' + options: + - '-Indexes' rewrites: - to_minio: comment: 'Forward nonexisting files to Minio'