Re: nginx proxy and Date header

2019-05-23 Thread Frank Liu
I understand your argument when nginx is normally used as a frontend server and "generation of the message" happens in nginx, but in this case, the document is about the nginx proxy module where nginx proxies the "message"

Re: nginx proxy and Date header

2019-05-23 Thread Maxim Dounin
Hello! On Wed, May 22, 2019 at 10:30:57AM -0700, Frank Liu wrote: > Is there a reason why by default nginx doesn't pass the "Date" header from > upstream? > http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_hide_header > > https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html seem

nginx proxy and Date header

2019-05-22 Thread Frank Liu
Is there a reason why by default nginx doesn't pass the "Date" header from upstream? http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_hide_header https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html seems to indicate Date header shouldn't be altered: The HTTP-date sent in a Date