Home > other >  After configuring the nginx, project in WeChat redirect uri mistakes
After configuring the nginx, project in WeChat redirect uri mistakes

Time:09-20

Turn to for help, the customer the door quickly cut me!

CodePudding user response:

The current configuration is successful, can be accessed, but the error. The log log inside a lot of error message

CodePudding user response:

2016/08/31 09:16:35 [error] # 512:9608 * 52471 WSARecv () failed (10054: An existing connection was forcibly closed by the remote host) while reading the response headers from upstream, client: 101.226.125.108, server: query.tianma315.com, the request: "GET/HTTP/1.1," upstream, "http://* * * * * */", the host: "query. * * * * * *. Com"

Basic it is this kind of error information

CodePudding user response:

Before configuration WeChat project is possible

CodePudding user response:

Meet the same problem, the original poster you the problem solved?

CodePudding user response:

I also encountered this problem, everyone is how to solve?

CodePudding user response:

With,
Iis in 80 port before, no problem,
Now put ngix in 80, iis to change to 81, and then sets forward ngix micro hkej is also wrong,
Server {
Listen, 80;
Server_name localhost.

The location/{
Proxy_pass http://localhost:81/;
IP # proxy_set_header X-ray Real - $remote_addr;
# proxy_set_header X-ray Forwarded - For $proxy_add_x_forwarded_for;
# proxy_set_header Host $Host;
# proxy_set_header X-ray Forwarded - proto HTTPS;
# proxy_redirect//;
}
}
  • Related