add oauth_skip_auth_routes variable
Useful for excluding `/webhook` from Caddy-git. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
121d5c05ae
commit
ff690889d9
|
@ -28,6 +28,11 @@ oauth_cont_etc_hosts:
|
|||
oauth_domain: ~
|
||||
oauth_callback: '/oauth2/callback'
|
||||
|
||||
# Skip auth for these paths.
|
||||
oauth_skip_auth_routes: []
|
||||
# - 'POST=/ping'
|
||||
# - '/webhook'
|
||||
|
||||
# Providers
|
||||
oauth_provider: 'github'
|
||||
oauth_github_org: 'status-im'
|
||||
|
|
|
@ -34,6 +34,9 @@ services:
|
|||
{% endif %}
|
||||
--request-logging=false
|
||||
--reverse-proxy=true
|
||||
{% for route in oauth_skip_auth_routes %}
|
||||
--skip-auth-route={{ route }}
|
||||
{% endfor %}
|
||||
{% if oauth_cont_networks %}
|
||||
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue