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 f0b53e4562
commit e51967ff24

View File

@ -94,6 +94,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
-