nginx配置反向代理CAS单点登录应用

时间:2019-04-23 12:32:27   收藏:0   阅读:1075

新增如下配置即可:

location /cas {
    proxy_pass http://172.16.20.155:8080/cas;
    proxy_redirect default;
    proxy_read_timeout 600s;
    proxy_set_header X-Real-IP  $remote_addr;
    proxy_set_header Host $host:$server_port;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    index index.html index.htm;
}

 

原文:https://www.cnblogs.com/nihaorz/p/10755593.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!