Welcome! Log In Create A New Profile

Advanced

Re: HTTP 1.0

Maxim Dounin
February 12, 2019 02:38PM
Hello!

On Tue, Feb 12, 2019 at 11:03:08AM -0600, Dusty Campbell wrote:

> Is there a way to force HTTP 1.0 for a location?
>
> I need to proxy a feature that depends on HTTP 1.0, not just between Nginx
> and the backend server, but also between the client and Nginx.

There is no way to force HTTP/1.0. You can, however, disable
various HTTP/1.1-specific mechanisms, including keepalive and
chunked transfer encoding, see here:

http://nginx.org/r/keepalive_timeout
http://nginx.org/r/chunked_transfer_encoding

And this is what actually happens when nginx talks to a HTTP/1.0
client. Depending on what you are trying achieve, some of the
options might help.

Note though, that if "a feature depends on HTTP 1.0", this likely
means that it is something that actually breaks the protocol,
including HTTP/1.0 protocol. And it might not work at all,
regardless of settings and protocols used, or may require various
non-standard quirks. You may want to be more specific on what you
are trying to do.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

HTTP 1.0

Dusty Campbell February 12, 2019 12:04PM

Re: HTTP 1.0

Maxim Dounin February 12, 2019 02:38PM

Re: HTTP 1.0

Dusty Campbell February 13, 2019 01:14PM

Re: HTTP 1.0

Maxim Dounin February 13, 2019 02:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready