valet/etc/apache2/180-valet.conf
Omar Rivera 285e4297df Adding packaging and debian instructions
Creates 2 debian packages from source.
    aic-valet-core (main pkg: API, engine)
    aic-valet-openstack-plugins (heat lifecycle plugin, nova scheduler filter)

Change-Id: I473ca046c432cd3383388987e1fe7e5a737e8ddb
2017-08-16 14:02:15 -05:00

29 lines
835 B
Plaintext

# valet user/group required (or substitute as needed).
# Place in /opt/apache2/sites-available, symlink from
# /opt/apache2/sites-enabled, and run 'apachectl restart' as root.
# Optional: Append python-path=PATH_TO_VENV_PACKAGES to WSGIDaemonProcess
Listen 8090
<VirtualHost *:8090>
ServerName valet
WSGIDaemonProcess valet user=valet_user group=valet_user threads=30
WSGIScriptAlias / /var/www/valet/app.wsgi
SetEnv APACHE_RUN_USER valet_user
SetEnv APACHE_RUN_GROUP valet_user
WSGIProcessGroup valet
<Directory /var/www/valet/>
WSGIProcessGroup valet
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
ErrorLog /var/log/apache2/valet/error.log
LogLevel warn
CustomLog /var/log/apache2/valet/access.log combined
</VirtualHost>