0

Hello I am trying to install openstack keystone module on top of nginx in Ubuntu Server. in apache2 it's an easy process u just run

apt install apache2 libapache2-mod-wsgi-py3 keystone

and the wsgi config file will be automatically created in /etc/apache2/sites-available/keystone.conf which contains

<VirtualHost *:5000>
    WSGIScriptAlias / /usr/bin/keystone-wsgi-public
    WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
    WSGIProcessGroup keystone-public
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    LimitRequestBody 114688

    <IfVersion >= 2.4>
      ErrorLogFormat "%{cu}t %M"
    </IfVersion>

    ErrorLog /var/log/apache2/keystone.log
    CustomLog /var/log/apache2/keystone_access.log combined

    <Directory /usr/bin>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
    </Directory>
</VirtualHost>

 Alias /identity /usr/bin/keystone-wsgi-public
<Location /identity>
    SetHandler wsgi-script
    Options +ExecCGI

    WSGIProcessGroup keystone-public
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
</Location>

how ever for nginx web server the folder is empty i don't know how to generate this file can any body help me out ?

  • I haven't tried that myself but the question is quite old, here is a 7 year old blog post asking the same question: https://docs.rackspace.com/blog/keystone-horizon-nginx – eblock Aug 11 '22 at 10:26

0 Answers0