diff --git a/manifests/pub_dir.pp b/manifests/pub_dir.pp index 07e3d91f..40be8b5e 100644 --- a/manifests/pub_dir.pp +++ b/manifests/pub_dir.pp @@ -3,6 +3,7 @@ # for download class foreman_proxy_content::pub_dir ( String $servername = $facts['fqdn'], + String $pub_dir_options = '+FollowSymLinks +Indexes', ) { include foreman_proxy_content include apache diff --git a/templates/httpd_pub.erb b/templates/httpd_pub.erb index f0dbc7c1..478b5d13 100644 --- a/templates/httpd_pub.erb +++ b/templates/httpd_pub.erb @@ -4,6 +4,6 @@ alias /pub /var/www/html/pub PassengerEnabled off - Options +FollowSymLinks +Indexes + Options <%= @pub_dir_options %> Require all granted