Revision 4bc527c8
Added by Lukas Zapletal over 10 years ago
templates/foreman-vhost.conf.erb | ||
---|---|---|
|
||
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>
|
||
<%= scope.function_template(['foreman/_assets.conf.erb']) %>
|
||
|
||
</VirtualHost>
|
||
|
||
... | ... | |
|
||
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>
|
||
<%= scope.function_template(['foreman/_assets.conf.erb']) %>
|
||
|
||
# Use puppet certificates for SSL
|
||
|
Also available in: Unified diff
Setup far-future expires headers for assets