You need to provde the Host or X-Forwarded-Host header, like this example describes: https://www.nginx.com/resources/wiki/start/topics/examples/likeapache/
This lets the backend web server know it's being reverse proxied. On Tuesday, September 25, 2018 at 4:52:22 PM UTC-4, Fahmi L. Ramdhani wrote: > > Hello, how to remove ports (to 443) while i use NGINX too. I want to like > *https://login.domain.com/ > <https://login.domain.com/>*. Following cas configuration: > > *etc/cas/config/cas.properties:* > cas.server.name: https://login.domain.com:8443 > cas.server.prefix: ${cas.server.name}/cas > > > *nginx/sites-available/login.domain.com <http://login.domain.com>* > server { > listen [::]:443 ssl ipv6only=on; > listen 443 ssl; > > server_name login.domain.com; > root /var/www/login.domain.com; > > charset utf-8; > > location / { > proxy_pass ??????? > } > > ssl_certificate .............; > ssl_certificate_key ................; > include /etc/letsencrypt/options-ssl-nginx.conf; > ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; > } > > > Please help me to complete the configuration at cas.properties or nginx. > Thank you. > -- - 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/bf5dd35f-8876-414f-a70e-c8e4053218b3%40apereo.org.
