Hello all,

I am using Mod_auth_cas and HA- Cas server behind a loadbalancer.

Whenever I set CASValidateURL to one of the cas servers it works fine. But
when I send to cas via NGINX server then it says "Unauthorized error" in

My Nginx has

 location /cas/login
        proxy_pass  http://cas_server/cas/login;

 location /cas/serviceValidate
        proxy_pass  http://cas_server/cas/serviceValidate;

 location /secured
        proxy_pass  http:// <http://cas_server/cas>

My cas.conf has

LoadModule auth_cas_module modules/mod_auth_cas.so
CASCertificatePath /etc/pki/tls/certs/
CASCookiePath /var/cache/mod_auth_cas/
CASLoginURL http://localhost:81/cas/login // Works fine
CASValidateURL  http://localhost:81/cas/serviceValidate // Pointing to NGINX
#CASValidateURL  http://localhost:8080/cas/serviceValidate // Pointing to
one of the cas server - Works fine
CASDebug On
LogLevel debug

No error as well. I am not sure where I am going wrong.

Can anyone help please.

Ramakrishna G

- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 

Reply via email to