Hello!
I am currently trying to make a reverse proxy setup work using nginx as proxy and keycloak as authentication server.
I am verny new to this and I have to say that I am having trouble getting a basic setup to work…
The Scenario:
The whole system should run inside a Private Docker Network, with only nginx exposed.
Now I had a simple setup going, where i would just return a 301 upon connecting to the server, and redirect to Keycloak login for session authentication, which at that point was running also exposed on the localhost, and so I could just redirect the client to the address on the localhost pointing to Keycloak.
Since then I tried moving the Keycloak login behind a proxy, and since then, nothing has been working.
The most obvious changes are first that no css gets loaded, so I just get plain Html, and second, when i try to log in, I get a error from saying that cookies are missing.
I have tried looking on the internet a lot, but i feel like I don’t even know what to look for.
Maybe someone can point me in a direction or resource, to set this up!
Thank you very much!