]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
MBVD-ODT - disable directory listing
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Fri, 20 Jul 2018 10:16:24 +0000 (12:16 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Fri, 20 Jul 2018 10:16:24 +0000 (12:16 +0200)
customer/mbvd-odt/int-tmp-cms-odt-daimler-com.pixelpark.net.yaml

index 91cdbea1646319f2ecec63bca83f7a7224736a0b..8f022e2eec2f41dad0d2d17e472cbd0732612f0b 100644 (file)
@@ -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'