Created
November 8, 2013 02:15
-
-
Save tanweernoor/7365229 to your computer and use it in GitHub Desktop.
openstack-dashboard.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /etc/httpd/conf.d/openstack-dashboard.conf | |
WSGIDaemonProcess dashboard | |
WSGIProcessGroup dashboard | |
WSGISocketPrefix run/wsgi | |
WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi | |
Alias /static /usr/share/openstack-dashboard/static | |
<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi> | |
<IfModule mod_deflate.c> | |
SetOutputFilter DEFLATE | |
<IfModule mod_headers.c> | |
# Make sure proxies don’t deliver the wrong content | |
Header append Vary User-Agent env=!dont-vary | |
</IfModule> | |
</IfModule> | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Directory /usr/share/openstack-dashboard/static> | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresDefault "access 6 month" | |
</IfModule> | |
<IfModule mod_deflate.c> | |
SetOutputFilter DEFLATE | |
</IfModule> | |
Order allow,deny | |
Allow from all | |
</Directory> | |
RedirectMatch permanent ^/$ /dashboard/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment