mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
[haproxy] Add rule for openidc endpoint
The paths are too similar and /openidc ended up being routed to wrong ipsilon server, let's add specific rule for OIDC as well. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
@@ -173,7 +173,10 @@ frontend ipsilon-frontend
|
||||
|
||||
{% if env == "staging" %}
|
||||
# Define ipsilon OpenID only instance
|
||||
acl path_openid path_beg /openidc
|
||||
acl path_openid path_beg /openid
|
||||
|
||||
use_backend ipsilon-backend if path_openidc
|
||||
use_backend ipsilon-backend-openid if path_openid
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user