Merge "Add rewrite rules for badges in the vhost config"
This commit is contained in:
commit
8b7c572f02
@ -22,11 +22,18 @@
|
||||
<% scope.lookupvar('openstack_project::static::governance_directories').each do |dirname| -%>
|
||||
<Directory <%= dirname %>>
|
||||
Options Indexes FollowSymLinks MultiViews
|
||||
AllowOverride FileInfo
|
||||
AllowOverride None
|
||||
Satisfy Any
|
||||
Require all granted
|
||||
</Directory>
|
||||
<% end -%>
|
||||
<Directory /srv/static/governance/badges>
|
||||
Options Indexes FollowSymLinks MultiViews
|
||||
AllowOverride None
|
||||
Satisfy Any
|
||||
Require all granted
|
||||
ErrorDocument 404 /badges/project-unofficial.svg
|
||||
</Directory>
|
||||
LogLevel warn
|
||||
ErrorLog /var/log/apache2/<%= @vhost_name %>_error.log
|
||||
CustomLog /var/log/apache2/<%= @vhost_name %>_access.log combined
|
||||
@ -56,11 +63,18 @@
|
||||
<% scope.lookupvar('openstack_project::static::governance_directories').each do |dirname| -%>
|
||||
<Directory <%= dirname %>>
|
||||
Options Indexes FollowSymLinks MultiViews
|
||||
AllowOverride FileInfo
|
||||
AllowOverride None
|
||||
Satisfy Any
|
||||
Require all granted
|
||||
</Directory>
|
||||
<% end -%>
|
||||
<Directory /srv/static/governance/badges>
|
||||
Options Indexes FollowSymLinks MultiViews
|
||||
AllowOverride None
|
||||
Satisfy Any
|
||||
Require all granted
|
||||
ErrorDocument 404 /badges/project-unofficial.svg
|
||||
</Directory>
|
||||
LogLevel warn
|
||||
ErrorLog /var/log/apache2/<%= @vhost_name %>_error.log
|
||||
CustomLog /var/log/apache2/<%= @vhost_name %>_access.log combined
|
||||
|
Loading…
Reference in New Issue
Block a user