Add debug config option
This config option enables debug logging for the configured LocationMatch section in Apache.
This commit is contained in:
parent
e3c13878a7
commit
8af65a0514
@ -5,3 +5,6 @@
|
|||||||
.coverage
|
.coverage
|
||||||
__pycache__/
|
__pycache__/
|
||||||
.stestr
|
.stestr
|
||||||
|
*~
|
||||||
|
\#*
|
||||||
|
*.swp
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
options:
|
options:
|
||||||
|
debug:
|
||||||
|
default: False
|
||||||
|
type: boolean
|
||||||
|
description: |
|
||||||
|
Enable debug logging.
|
||||||
remote-id-attribute:
|
remote-id-attribute:
|
||||||
default: 'HTTP_OIDC_SUB'
|
default: 'HTTP_OIDC_SUB'
|
||||||
type: string
|
type: string
|
||||||
|
@ -39,6 +39,7 @@ OICDRemoteUserClaim {{ options.oidc_remote_user_claim }}
|
|||||||
<LocationMatch /v3/OS-FEDERATION/identity_providers/{{ options.idp_id }}/protocols/{{ options.protocol_id }}/auth>
|
<LocationMatch /v3/OS-FEDERATION/identity_providers/{{ options.idp_id }}/protocols/{{ options.protocol_id }}/auth>
|
||||||
AuthType {{ options.auth_type }}
|
AuthType {{ options.auth_type }}
|
||||||
Require valid-user
|
Require valid-user
|
||||||
|
{% if options.debug -%}
|
||||||
LogLevel debug
|
LogLevel debug
|
||||||
|
{% endif -%}
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user