Skip to content

Commit

Permalink
Fixes #27689 - Allow customization of pub dir on foreman proxy server
Browse files Browse the repository at this point in the history
  • Loading branch information
snagoor authored and ekohl committed Aug 22, 2019
1 parent ab354ce commit f6790c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions manifests/pub_dir.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/httpd_pub.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ alias /pub /var/www/html/pub
<IfModule mod_passenger.c>
PassengerEnabled off
</IfModule>
Options +FollowSymLinks +Indexes
Options <%= @pub_dir_options %>
Require all granted
</Location>

0 comments on commit f6790c4

Please sign in to comment.