Accessed on individual ports they run perfectly but when going over nginx, tomcat address (localhost) works but keycloak (localhost/auth) won't.
server_tokens off; #hides nginx version and OS running on
include /etc/nginx/mime.types;
upstream keycloak_server {
try_files $uri $uri/index.hml /maintenance.html @tomcat;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;