我试过使用下面的代码,但它不起作用
server{
listen:80;
server_name example.com;
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://example1.com/;
}
}安装程序的已发布url为:http://example.com/setup.exe,可从http://example1.com/setup.exe下载安装程序
任何帮助都会得到重视。
发布于 2020-12-08 15:40:56
删除了"proxy_set_header“,问题已修复。
https://stackoverflow.com/questions/65037654
复制相似问题