octavia/httpd/octavia-api.conf
Shashank Kumar Shankar a669d7e4f1 Run Octavia API in a WSGI server
This patch is to enable the API to run in a WSGI server like
apache2/httpd.

Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I296c046f653dcf78cdca2d0df1896d27f2ba1544
2017-04-30 08:36:44 +00:00

24 lines
568 B
Plaintext

Listen 9876
<VirtualHost *:9876>
WSGIDaemonProcess octavia-wsgi processes=5 threads=1 display-name=%{GROUP}
WSGIProcessGroup octavia-wsgi
WSGIScriptAlias / /usr/local/bin/octavia-wsgi
WSGIApplicationGroup %{GLOBAL}
ErrorLog /var/log/apache2/octavia-wsgi.log
<Directory /usr/local/bin/>
WSGIProcessGroup octavia-wsgi
<IfVersion >= 2.4>
Require all granted
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
</Directory>
</VirtualHost>