From 742a85b6b6a68338dc733b0c97e3f6f351122bae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Fri, 20 Jul 2018 12:16:24 +0200 Subject: [PATCH] MBVD-ODT - disable directory listing --- .../int-tmp-cms-odt-daimler-com.pixelpark.net.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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' -- 2.39.5