openstack
  • Introduction
  • 安装教程
    • config
      • mariadb
        • openstack.cnf
      • rabbitmq
      • memcached
        • memcached
      • httpd
        • httpd.conf
      • keystone
        • keystone.conf
        • wsgi-keystone.conf
      • glance
        • glance-api.conf
        • glance-registry.conf
      • nova
        • 00-nova-placement-api.conf
        • nova.conf.controller
        • nova.conf.compute
      • neutron
        • neutron.conf.controller
        • neutron.conf.compute
        • ml2_conf.ini
        • linuxbridge_agent.ini.controller
        • linuxbridge_agent.ini.compute
        • l3_agent.ini
        • dhcp_agent.ini
        • metadata_agent.ini
      • cinder
        • cinder.conf.controller
        • cinder.conf.volume
      • horizon
        • local_settings
        • openstack-dashboard.conf
    • shell
      • common.sh
      • controller.sh
      • nova-compute.sh
      • cinder-volume.sh
    • admin-openrc
  • Keystone
  • API
    • Nova
      • 创建实例
  • spice证书管理
    • 硬重启
      • 代码追踪
    • 操作手册
Powered by GitBook
On this page

Was this helpful?

  1. 安装教程
  2. config
  3. keystone

wsgi-keystone.conf

Listen {KEYSTONE_PORT}

<VirtualHost *:{KEYSTONE_PORT}>
    WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
    WSGIProcessGroup keystone-public
    WSGIScriptAlias / /usr/bin/keystone-wsgi-public
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    LimitRequestBody 114688
    <IfVersion >= 2.4>
      ErrorLogFormat "%{cu}t %M"
    </IfVersion>
    ErrorLog /var/log/httpd/keystone.log
    CustomLog /var/log/httpd/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>

<VirtualHost *:{KEYSTONE_PORT}>
    WSGIDaemonProcess keystone-admin processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
    WSGIProcessGroup keystone-admin
    WSGIScriptAlias / /usr/bin/keystone-wsgi-admin
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    LimitRequestBody 114688
    <IfVersion >= 2.4>
      ErrorLogFormat "%{cu}t %M"
    </IfVersion>
    ErrorLog /var/log/httpd/keystone.log
    CustomLog /var/log/httpd/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>

Alias /identity_admin /usr/bin/keystone-wsgi-admin
<Location /identity_admin>
    SetHandler wsgi-script
    Options +ExecCGI

    WSGIProcessGroup keystone-admin
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
</Location>
Previouskeystone.confNextglance

Last updated 5 years ago

Was this helpful?