
This patch updates the paths to prevent puppet from making changes to the location where the git repo is checked out. Change-Id: I41ac378d98e5e3423d6538fb7cf90323ca9d5ac6
85 lines
2.8 KiB
Plaintext
85 lines
2.8 KiB
Plaintext
<VirtualHost *:80>
|
|
ServerAdmin <%= @serveradmin %>
|
|
ServerName <%= @vhost_name %>
|
|
|
|
WSGIProcessGroup appcatalog
|
|
WSGIDaemonProcess appcatalog user=www-data group=www-data threads=5 python-path=/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages
|
|
WSGIScriptAlias / /usr/local/lib/python2.7/dist-packages/openstack_catalog/wsgi.py
|
|
|
|
Alias /static/ <%= @install_dir %>/web/static/
|
|
|
|
DocumentRoot <%= @docroot %>
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
<Directory <%= @docroot %>>
|
|
Allow from all
|
|
Satisfy Any
|
|
</Directory>
|
|
<Directory /usr/local/lib/python2.7/dist-packages/openstack_catalog/>
|
|
Order allow,deny
|
|
Allow from all
|
|
Satisfy Any
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/app_site-error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel warn
|
|
|
|
CustomLog /var/log/apache2/app_site-access.log combined
|
|
ServerSignature Off
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:443>
|
|
ServerAdmin <%= @serveradmin %>
|
|
ServerName <%= @vhost_name %>
|
|
|
|
WSGIProcessGroup appcatalogssl
|
|
WSGIDaemonProcess appcatalogssl user=www-data group=www-data threads=5 python-path=/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages
|
|
WSGIScriptAlias / /usr/local/lib/python2.7/dist-packages/openstack_catalog/wsgi.py
|
|
|
|
Alias /static/ <%= @install_dir %>/web/static/
|
|
|
|
SSLEngine on
|
|
SSLProtocol All -SSLv2 -SSLv3
|
|
|
|
SSLCertificateFile <%= @ssl_cert_file %>
|
|
SSLCertificateKeyFile <%= @ssl_key_file %>
|
|
<% if @ssl_chain_file != nil %>
|
|
SSLCertificateChainFile <%= @ssl_chain_file %>
|
|
<% end %>
|
|
|
|
BrowserMatch "MSIE [2-6]" \
|
|
nokeepalive ssl-unclean-shutdown \
|
|
downgrade-1.0 force-response-1.0
|
|
# MSIE 7 and newer should be able to use keepalive
|
|
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
|
|
|
|
DocumentRoot <%= @docroot %>
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
<Directory <%= @docroot %>>
|
|
Allow from all
|
|
Satisfy Any
|
|
</Directory>
|
|
<Directory /usr/local/lib/python2.7/dist-packages/openstack_catalog/>
|
|
Order allow,deny
|
|
Allow from all
|
|
Satisfy Any
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/app_site-error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel warn
|
|
|
|
CustomLog /var/log/apache2/app_site-access.log combined
|
|
ServerSignature Off
|
|
</VirtualHost>
|