Problem with CAS on nginx configuration

252 views
Skip to first unread message

carlos maddaleno cuellar

unread,
Nov 23, 2017, 4:35:30 PM11/23/17
to CAS Community, jasig-cas-user
Hello!

I wanted to know if some one could help me with a problem i have with my CAS, the problem is that i have a nginx that is responding to three diferent servers as a proxy, the thing is that i put the cas on one instance (server) but when it loads on 

siampapps(nginx)

https://siamppapps.mp/cas it shows that is not navigating on a secure port as you can see

Imágenes integradas 2


 
but when i try directly on the ip of the server and the port it doesn't show any error 

Imágenes integradas 1


this is my nginx configuration:

---------------------------------------------------------------------------------------------------------------------
 
upstream nomina {
        server siampv4.mp:28080;
}

upstream siampv3.mp {
        server siampv3.mp:28083;        
}

upstream siampv5.mp {
        server siampv5.mp:28080;        
}




server {
        listen 443;
        client_max_body_size 8M;
        ssl on;
ssl_certificate /etc/nginx/siampapps.mp.crt;        # path to your cacert.pem
        ssl_certificate_key /etc/nginx/siampapps.mp.key;    # path to your privkey.pem
        server_name test.mp;
        # ......
        fastcgi_param   HTTPS               on;
        fastcgi_param   HTTP_SCHEME         https;
#location / {
#        root   /usr/share/nginx/html;
#        index  index.html index.htm;
#    }



location /nomina {
proxy_pass http://nomina;
}

location / {
proxy_pass http://siampv3.mp;
}

location /mailer {
proxy_pass http://siampv5.mp;
}

location /cas {

proxy_pass http://siampv5.mp;
}


}

thanks a lot!!

Pascal Rigaux

unread,
Nov 23, 2017, 5:25:16 PM11/23/17
to cas-...@apereo.org
https://apereo.github.io/cas/5.1.x/installation/Troubleshooting-Guide.html#configuring-ssl-behind-load-balancerproxy

carlos maddaleno cuellar <iamcarlos...@gmail.com> a écrit :

> Hello!
>
> I wanted to know if some one could help me with a problem i have with my
> CAS, the problem is that i have a nginx that is responding to three
> diferent servers as a proxy, the thing is that i put the cas on one
> instance (server) but when it loads on
>
> siampapps(nginx)
>
> https://siamppapps.mp/cas it shows that is not navigating on a secure port
> as you can see
>
> [image: Imágenes integradas 2]
>
>
>
> but when i try directly on the ip of the server and the port it doesn't
> show any error


--
Pascal Rigaux

carlos maddaleno cuellar

unread,
Nov 27, 2017, 4:47:11 PM11/27/17
to CAS Community
Thanks a lot i will take it a look!!

--
Pascal Rigaux

--
- 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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/20171123232510.Horde.N7thZTg3HKFsZ9Wp32w-V87%40courrier.univ-paris1.fr.

Reply all
Reply to author
Forward
0 new messages