Forum

Reverse Proxy returns 404

Alex
25 January 2019, 18:25
Hi Hugo,

we are using Hiawatha reverse proxy to proxy our keycloak instance.

It works fine - only this url returns a 404 http error:
https://keycloak.lorem-ipsum.com/auth/realms/abc-dev/.well-known/openid-configuration

Here is our config:
VirtualHost {
Hostname = keycloak....
ReverseProxy .* http://1.2.3.4:5678 120 keep-alive
WebsiteRoot = /abc
StartFile = index.html
AccessLogfile = /log/a
ErrorLogfile = /log/e
TLSCertFile = /tls/a.pem
}

In the error file we didn't find anything interesting...
Also in the access file we didn't find an entry for this url.

Do you have an idea what's going wrong?

Thanks!!

- Alex
Christian
26 January 2019, 11:13
Hey Alex,

RTFM; "AllowDotFiles = yes" should help with this. Although Hiawatha should allow .well-known URIs when the URI starts with .well-known/, but yours starts with /auth/realms/abc-dev/.well-known/.
This topic has been closed.