Update Koschei httpd.conf
This commit is contained in:
parent
dfba231f89
commit
fb0ebb1087
3 changed files with 20 additions and 22 deletions
|
@ -5,5 +5,5 @@ metadata:
|
|||
stringData:
|
||||
config-frontend.cfg: |
|
||||
{{ lookup('template', roles_path + '/openshift-apps/koschei/templates/config-frontend.cfg.j2') | indent }}
|
||||
httpd.conf: |
|
||||
{{ lookup('template', roles_path + '/openshift-apps/koschei/templates/httpd.conf.j2') | indent }}
|
||||
httpd-virthost.conf: |
|
||||
{{ lookup('template', roles_path + '/openshift-apps/koschei/templates/httpd-virthost.conf.j2') | indent }}
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
RewriteEngine on
|
||||
RewriteRule ^/documentation/?$ https://fedoraproject.org/wiki/Koschei [R=301,L]
|
||||
|
||||
OIDCRedirectURI "{{ koschei_topurl }}/login/redirect_uri"
|
||||
OIDCProviderMetadataURL "https://{{ koschei_oidc_provider }}/openidc/wellknown_openid_configuration"
|
||||
OIDCClientID "koschei"
|
||||
OIDCClientSecret "{{ koschei_oidc_client_secret }}"
|
||||
OIDCCryptoPassphrase "{{ koschei_oidc_crypto_secret }}"
|
||||
OIDCSSLValidateServer On
|
||||
OIDCResponseType "code"
|
||||
OIDCSessionType client-cookie
|
||||
|
||||
OIDCScope "openid profile"
|
||||
|
||||
<Location /login>
|
||||
AuthType openid-connect
|
||||
Require valid-user
|
||||
</Location>
|
|
@ -1,20 +0,0 @@
|
|||
<VirtualHost *>
|
||||
RewriteEngine on
|
||||
RewriteRule ^/documentation/?$ https://fedoraproject.org/wiki/Koschei [R=301,L]
|
||||
|
||||
OIDCRedirectURI "{{ koschei_topurl }}/login/redirect_uri"
|
||||
OIDCProviderMetadataURL "https://{{ koschei_oidc_provider }}/openidc/wellknown_openid_configuration"
|
||||
OIDCClientID "koschei"
|
||||
OIDCClientSecret "{{ koschei_oidc_client_secret }}"
|
||||
OIDCCryptoPassphrase "{{ koschei_oidc_crypto_secret }}"
|
||||
OIDCSSLValidateServer On
|
||||
OIDCResponseType "code"
|
||||
OIDCSessionType client-cookie
|
||||
|
||||
OIDCScope "openid profile"
|
||||
|
||||
<Location /login>
|
||||
AuthType openid-connect
|
||||
Require valid-user
|
||||
</Location>
|
||||
</VirtualHost>
|
Loading…
Add table
Add a link
Reference in a new issue