File nova-placement-api.conf.sample of Package openstack-nova

# OpenStack nova-placement-api Apache2 example configuration

Listen 8780

<Directory /srv/www/nova-placement-api/>
    Options FollowSymLinks MultiViews
    AllowOverride None
    Require all granted
</Directory>

<VirtualHost *:8780>
    WSGIScriptAlias / /srv/www/nova-placement-api/app.wsgi
    WSGIDaemonProcess nova-placement-api processes=2 threads=1 user=nova group=nova
    WSGIProcessGroup nova-placement-api
    ErrorLog /var/log/nova/nova-placement-api.log
    CustomLog /var/log/nova/nova-placement-api.log combined

</VirtualHost>

Alias /placement /srv/www/nova-placement-api/app.wsgi
<Location /placement>
    SetHandler wsgi-script
    Options +ExecCGI
    WSGIProcessGroup nova-placement-api
</Location>
openSUSE Build Service is sponsored by