mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 08:19:23 +02:00
proxy: fix forward auth, request signing
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
ec9607d1d5
commit
0f6a9d7f1d
32 changed files with 928 additions and 522 deletions
|
@ -187,7 +187,7 @@ func (p *Proxy) UpdatePolicies(opts *config.Options) error {
|
|||
|
||||
if opts.ForwardAuthURL != nil {
|
||||
// if a forward auth endpoint is set, register its handlers
|
||||
h := r.Host(opts.ForwardAuthURL.Host).Subrouter()
|
||||
h := r.Host(opts.ForwardAuthURL.Hostname()).Subrouter()
|
||||
h.PathPrefix("/").Handler(p.registerFwdAuthHandlers())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue