Fwd: Problem with CAS on nginx configuration

carlos maddaleno cuellar iamcarlosmaddaleno at gmail.com
Tue Nov 28 15:44:43 UTC 2017


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

[image: 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!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20171128/583ab81e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 72108 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20171128/583ab81e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 67285 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20171128/583ab81e/attachment-0003.png>


More information about the nginx mailing list