keystone.stencil revision 5403
6408N/A;
6408N/A;TLS macro for vhost blocks
6408N/A;
6408N/A$%define TLS {$%{config/use_tls:?
6408N/A SSLEngine On
6408N/A
6408N/A # Disable the known insecure SSLv3 protocol
6408N/A SSLProtocol all -SSLv3
6408N/A
6408N/A SSLCertificateFile $%{config/ssl_cert_file}
6408N/A $%{config/ssl_ca_cert_file:^*SSLCACertificateFile }
6408N/A SSLCertificateKeyFile $%{config/ssl_cert_key_file}
6408N/A}}
6408N/A;
6408N/A;vhost macro
6408N/A;
6408N/A$%define VHOST type port name {
6408N/A<VirtualHost *:$%port>
6408N/A$%[TLS]
6408N/A WSGIDaemonProcess keystone-$%type processes=5 threads=1 user=keystone group=keystone display-name=%\{GROUP\}
6408N/A WSGIScriptAlias / /usr/lib/python2.7/vendor-packages/keystone/httpd/$%name
6408N/A WSGIProcessGroup keystone-$%type
6408N/A WSGIApplicationGroup %\{GLOBAL\}
6408N/A WSGIPassAuthorization On
6408N/A
6408N/A</VirtualHost>
6408N/A}
6408N/A;
6408N/A; Start of conf file stencil
6408N/A;
6408N/A# WARNING: THIS FILE GENERATED FROM SMF DATA.
6408N/A# DO NOT EDIT THIS FILE. EDITS WILL BE LOST.
6408N/A#
6408N/A
6408N/AServerRoot "/usr/apache2/2.4"
6408N/A
6408N/ALoadModule authn_file_module libexec/mod_authn_file.so
6408N/ALoadModule authn_core_module libexec/mod_authn_core.so
6408N/ALoadModule authz_host_module libexec/mod_authz_host.so
6408N/ALoadModule authz_groupfile_module libexec/mod_authz_groupfile.so
6408N/ALoadModule authz_user_module libexec/mod_authz_user.so
6408N/ALoadModule authz_core_module libexec/mod_authz_core.so
6408N/ALoadModule access_compat_module libexec/mod_access_compat.so
6408N/ALoadModule auth_basic_module libexec/mod_auth_basic.so
6408N/ALoadModule reqtimeout_module libexec/mod_reqtimeout.so
6408N/ALoadModule filter_module libexec/mod_filter.so
6408N/ALoadModule log_config_module libexec/mod_log_config.so
6408N/ALoadModule env_module libexec/mod_env.so
6408N/ALoadModule headers_module libexec/mod_headers.so
6408N/ALoadModule version_module libexec/mod_version.so
6408N/ALoadModule slotmem_shm_module libexec/mod_slotmem_shm.so
6408N/A<IfDefine prefork>
6408N/A LoadModule mpm_prefork_module libexec/mod_mpm_prefork.so
6408N/A</IfDefine>
6408N/A<IfDefine worker>
6408N/A LoadModule mpm_worker_module libexec/mod_mpm_worker.so
6408N/A</IfDefine>
6408N/A<IfDefine !prefork>
6408N/A <IfDefine !worker>
6408N/A LoadModule mpm_event_module libexec/mod_mpm_event.so
6408N/A </IfDefine>
6408N/A</IfDefine>
6408N/ALoadModule unixd_module libexec/mod_unixd.so
6408N/ALoadModule status_module libexec/mod_status.so
6408N/ALoadModule alias_module libexec/mod_alias.so
6408N/ALoadModule wsgi_module libexec/mod_wsgi-2.7.so
6408N/A$%{config/use_tls:?
6408N/ALoadModule ssl_module libexec\/mod_ssl.so
6408N/A}
6408N/A
6408N/A<IfModule unixd_module>
6408N/A User keystone
6408N/A Group keystone
6408N/A</IfModule>
6408N/A
6408N/APidFile /var/lib/keystone/keystone.httpd.pid
6408N/A
6408N/AServerName 127.0.0.1
6408N/AListen $%{config/public_port}
6408N/AListen $%{config/admin_port}
6408N/A
6408N/A<Directory />
6408N/A AllowOverride none
6408N/A Require all denied
6408N/A</Directory>
6408N/A
6408N/AErrorLogFormat "%{cu}t %M"
6408N/AErrorLog "$%{config/error_log}"
6408N/ALogLevel warn
6408N/A
6408N/A<IfModule log_config_module>
6408N/A LogFormat "%h %u %t \\"%r\\" %p %>s %b \\"%{Referer}i\\" \\"%{User-Agent}i\\"" combined
6408N/A</IfModule>
6408N/A
6408N/ACustomLog $%{config/access_log} combined
6408N/A
6408N/A<Directory /usr/lib/python2.7/vendor-packages/keystone/httpd>
6408N/A Options Indexes FollowSymLinks MultiViews
6408N/A AllowOverride None
6408N/A Require all granted
6408N/A</Directory>
6408N/A
6408N/AWSGISocketPrefix /var/run/keystone_wsgi_
6408N/A
6408N/A$%[VHOST public $%{config/public_port} main]
6408N/A$%[VHOST admin $%{config/admin_port} admin]
6408N/A