Revision 33f6788f
Added by Mickaël Canévet almost 11 years ago
templates/foreman-apache.conf.erb | ||
---|---|---|
<%= ERB.new(File.read(File.expand_path("_header.erb",File.dirname(file)))).result(binding) -%>
|
||
|
||
RailsAutoDetect On
|
||
AddDefaultCharset UTF-8
|
||
DocumentRoot <%= scope.lookupvar 'foreman::app_root' %>/public
|
||
PassengerAppRoot <%= scope.lookupvar 'foreman::app_root' %>
|
||
<% if @scl_prefix and !@scl_prefix.empty? -%>
|
||
PassengerRuby /usr/bin/<%= @scl_prefix -%>-ruby
|
||
<% end -%>
|
||
|
||
AddDefaultCharset UTF-8
|
||
|
||
<Directory <%= scope.lookupvar 'foreman::app_root' %>/public>
|
||
<IfVersion < 2.4>
|
||
Allow from all
|
||
</IfVersion>
|
||
<IfVersion >= 2.4>
|
||
Require all granted
|
||
</IfVersion>
|
||
</Directory>
|
Also available in: Unified diff
Update foreman-apache.conf.erb to match changes