标签:serve pre lin arp 解决方案 rect 后端 mic 微信
net iis多个网站 通过Nginx转发代理出去 正常都ok:见
upstream wx.xxxxx.org {
server 127.0.0.1:8081;
}
server {
listen 80;
server_name wx.xxxxx.org;
location /{
proxy_pass http:
//wx
.xxxxx.org;
}
upstream wx.xxxxx.org { server 127.0.0.1:8081; } server { listen 80; server_name wx.xxxxx.org; location /{
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://wx.xxxxx.org; }
web.config 重点是下面的配置 这是困扰我几百年的问题 <appSettings> <add key="aspnet:UseHostHeaderForRequestUrl" value="true"/> </appSettings>
Nginx 代理 10003 redirect_uri域名与后台不一致
标签:serve pre lin arp 解决方案 rect 后端 mic 微信
原文地址:https://www.cnblogs.com/flysem/p/12491429.html