Compare commits
2 Commits
v2024.6.5-
...
v2024.6.25
Author | SHA1 | Date | |
---|---|---|---|
ea68724635 | |||
1009eb19aa |
@ -70,6 +70,7 @@ MAIN:
|
|||||||
|
|
||||||
r.URL.Host = toURL.Host
|
r.URL.Host = toURL.Host
|
||||||
r.URL.Scheme = toURL.Scheme
|
r.URL.Scheme = toURL.Scheme
|
||||||
|
r.URL.Path = toURL.JoinPath(r.URL.Path).Path
|
||||||
|
|
||||||
ctx = logger.With(ctx,
|
ctx = logger.With(ctx,
|
||||||
logger.F("proxy", match.Name),
|
logger.F("proxy", match.Name),
|
||||||
@ -77,6 +78,11 @@ MAIN:
|
|||||||
logger.F("remoteAddr", r.RemoteAddr),
|
logger.F("remoteAddr", r.RemoteAddr),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
logger.Debug(
|
||||||
|
ctx, "rewritten url",
|
||||||
|
logger.F("rewrittenURL", r.URL.String()),
|
||||||
|
)
|
||||||
|
|
||||||
metricProxyRequestsTotal.With(prometheus.Labels{metricLabelProxy: string(match.Name)}).Add(1)
|
metricProxyRequestsTotal.With(prometheus.Labels{metricLabelProxy: string(match.Name)}).Add(1)
|
||||||
|
|
||||||
ctx = withProxy(ctx, match)
|
ctx = withProxy(ctx, match)
|
||||||
|
@ -19,7 +19,8 @@ layers:
|
|||||||
# clientId: my-client-id
|
# clientId: my-client-id
|
||||||
# clientSecret: my-client-id
|
# clientSecret: my-client-id
|
||||||
# issuerURL: https://forge.cadoles.com/
|
# issuerURL: https://forge.cadoles.com/
|
||||||
# postLogoutRedirectURL: http://localhost:8080
|
# postLogoutRedirectURLs:
|
||||||
|
# - http://localhost:8080
|
||||||
# scopes: ["profile", "openid", "email"]
|
# scopes: ["profile", "openid", "email"]
|
||||||
# authParams:
|
# authParams:
|
||||||
# acr_values: "eidas2"
|
# acr_values: "eidas2"
|
||||||
|
Reference in New Issue
Block a user