Disable a directory listing of /icons in httpd.

In OpenStack, httpd doesn't need to allow a directory listing to icons
directory. This fix sets 'None' to Options for icons directories of
all httpd servers.

Signed-off-by: Keigo Noha <knoha@redhat.com>
(cherry picked from commit 423ecead86)

 Conflicts:
	puppet/services/apache.j2.yaml

Change-Id: I7c34901d6f3bb7f4c4bb2494b760bcd0cbcd97b2
This commit is contained in:
Keigo Noha 2019-04-01 14:04:09 +09:00
parent caea29a599
commit 17fed07c01
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ outputs:
apache::mod::prefork::serverlimit: { get_param: ApacheServerLimit }
apache::mod::remoteip::proxy_ips:
- "%{hiera('apache_remote_proxy_ips_network')}"
apache::mod::alias::icons_options: 'None'
- if:
- internal_tls_enabled
-