puppet-refstack/templates/refstack_http.vhost.erb
Paul Van Eck e1482bf068 Remove virtualenv and install RefStack on system
The stankevich/puppet-python module was causing issues,
so this patch removed the dependency on it. Now pip is used
to install directly onto the system instead of in a virtualenv.

Change-Id: I8f9922ab05429f15cc718561ed3b324ffe8ea746
2015-08-24 17:04:10 -07:00

20 lines
534 B
Plaintext

<VirtualHost <%= @hostname %>:80>
<% if !!@server_admin %>
ServerAdmin <%= @server_admin %>
<% end %>
ServerName <%= @hostname %>
DocumentRoot <%= @install_www_root %>
WSGIDaemonProcess refstack user=<%= @user %> group=<%= @group %> threads=5
WSGIScriptAlias /api /etc/refstack/app.wsgi
WSGIPassAuthorization On
LogLevel warn
ErrorLog ${APACHE_LOG_DIR}/refstack-error.log
CustomLog ${APACHE_LOG_DIR}/refstack-access.log combined
<Directory "/etc/refstack">
Require all granted
</Directory>
</VirtualHost>