location / {
#proxy_set_header Host $host;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; #防止https伪装攻击
proxy_pass http://172.16.31.28;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
作者:admin 创建时间:2023-01-17 14:50
最后编辑:admin 更新时间:2023-01-30 20:54
最后编辑:admin 更新时间:2023-01-30 20:54