| ▲ | cxr 3 hours ago | ||||||||||||||||
> That’s purely a server side configuration issue When it's the default, it's not a case of someone having configured nginx to do the thing described, as is their prerogative. It's nginx's defaulting to doing the wrong thing and requiring specific configuration to do the right thing. The author's position is that this violates the RFCs. > and has nothing to do with web standards though Yes it does. Prescriptions for how intermediate servers are or are not to munge data before passing it to the origin server are written directly into the HTTP RFCs. They're filled with references to this. > There’s nothing that says that the internal communication on the server needs to follow the standards for user agents. And is there anyone arguing that that's the case here? | |||||||||||||||||
| ▲ | echoangle 2 hours ago | parent [-] | ||||||||||||||||
> When it's the default, it's not a matter of someone configuring nginx to do the wrong thing. It's nginx's defaulting to doing the wrong thing and requiring specific configuration to do the right thing. This assumes that „the reverse proxy requests a different URL upstream from what it got as a request“ is wrong. Who says that it is? And as I said, it doesn’t seem to be the default. But I can also continue defend it being the default because I think even as a default on it wouldn’t be wrong. EDIT: Actually it seems to be on by default: https://nginx.org/en/docs/http/ngx_http_core_module.html#mer... > Yes it is. Prescriptions for how intermediate servers are or are not to munge data before passing it to the origin server is written directly into the HTTP RFCs. It's filled with references to them. Which RFC forbids a reverse proxy from rewriting the request URL? If I have a legacy PHP app that expects values as query strings and I use a reverse proxy to map the URL path to those query strings, is that wrong too? Would it be wrong if my reverse proxy did that by default? | |||||||||||||||||
| |||||||||||||||||