You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when use proxy to request nginx, nginx can not be use correctly, After I rewrite some code in readRequest method then it can be succeed. The code I have already upload. So you can take a look. Waiting for your reply. Thank you
Now request.go code (from readRequest method):
req.Header=Header(mimeHeader)
// RFC 7230, section 5.3: Must treat// GET /index.html HTTP/1.1// Host: www.google.com// and// GET http://www.google.com/index.html HTTP/1.1// Host: doesntmatter// the same. In the second case, any Host line is ignored.req.Host=req.URL.Host//if req.Host == "" {// req.Host = req.Header.get("Host")//}ifdeleteHostHeader {
delete(req.Header, "Host")
}
So if I run the following code, ngxin won't report that it can't find "project error"
when use proxy to request nginx, nginx can not be use correctly, After I rewrite some code in readRequest method then it can be succeed. The code I have already upload. So you can take a look. Waiting for your reply. Thank you
Now request.go code (from readRequest method):
So if I run the following code, ngxin won't report that it can't find "project error"
The text was updated successfully, but these errors were encountered: