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
Cell: +36704258964

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAD65aPVyRe%2BBrq%2BnbWPSrFv9sy5-iP_ArTFSi2vZ0b7GAT%2BxDQ%40mail.gmail.com.

Reply via email to