Hello,
i got lost in the config attributes and cannot figure
which one to put to which port.
I have cas running in a docker on 8443, what is mapped with
docker proxy to 8443 on the host, what is reverse proxied with an
nginx to 443.
0.0.0.0:8443(docker)-><HOSTIP>:8443(host)-><DOMAIN>:443(proxy)
My related config looks like below, it seems that some redirects fail.
I doubt that cas is redirecting to the wrong port. Or the proxy is
bumpng it to the wrong place.
server.port: 8443
server.contextPath: /cas
server.tomcat.remoteIpHeader: X-Forwarded-For
server.tomcat.protocolHeader: X-Forwarded-proto
server.tomcat.portHeader: X-Forwarded-port
server.tomcat.protocolHeaderHttpsValue: https
cas.server.httpProxy.enabled: true
cas.server.httpProxy.secure: true
cas.server.httpProxy.protocol: org.apache.coyote.http11.Http11NioProtocol
cas.server.httpProxy.scheme: https
cas.server.httpProxy.redirectPort: 8443
cas.server.httpProxy.proxyPort: 443
Please adivse regarding the proper use of
server.port:
cas.server.httpProxy.redirectPort:
cas.server.httpProxy.proxyPort:
--
Sándor Juhász
System Administrator
ChemAxon Ltd.
Building Hx, GraphiSoft Park, Záhony utca 7, Budapest, Hungary, H-1031