Files
notes/work/移动杭研/业务梳理/登录相关/IAM 用户登录系统.md
T
2026-03-01 01:43:46 +08:00

62 lines
1.6 KiB
Markdown

# 登录流程
> 联调环境为例
页面请求地址
```
https://t11.inte.p.cdn.10086.cn:9181/login/authv2
```
hosts 配置地址
```
172.21.16.68 t11.inte.p.cdn.10086.cn
```
对应 ng 查找路径
```shell
[tianzhuo@chiqingguo92 nginx]$ grep -r "9181" .
Binary file ./conf.d/iam.conf.error matches
./conf.d/iam-web.conf: #listen *:9181 ;
./conf.d/1: listen *:9181 ssl ;
./conf.d/1: proxy_pass http://172.21.16.202:9181;
./conf.d/iam-api-upstream.conf: server 172.21.16.202:9181 fail_timeout=10s;
./conf.d/iam-api.conf: listen *:9181 ssl ;
[tianzhuo@chiqingguo92 conf.d]$ cat iam-web.conf
server {
# listen *:80;
listen *:9180 ssl;
#listen *:9181 ;
ssl_certificate /etc/nginx/ssl/t12.inte.p.cdn.10086.cn.pem;
ssl_certificate_key /etc/nginx/ssl/t12.inte.p.cdn.10086.cn.key;
# ssl_session_cache shared:SSL:1m;
#ssl_session_timeout 10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;
server_name t12.inte.p.cdn.10086.cn;
access_log /var/log/nginx/upstream3.log;
error_log /var/log/nginx/upstream3.error.log;
location / {
proxy_pass http://172.21.16.202:9180;
proxy_read_timeout 90;
proxy_connect_timeout 10;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-From-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
```
找到对应的地址为 http://172.21.16.202:9180;