Gunicorn 시작 시 nginx 400 request line is too large (4360 4094)

1318 단어
gunicorn 인자 설정 - limit - request - line 8188 (기본 값 4094)
레 퍼 런 스
limit_request_line
--limit-request-line INT
4094
The maximum size of HTTP request line in bytes.

This parameter is used to limit the allowed size of a client’s HTTP request-line. Since the request-line consists of the HTTP method, URI, and protocol version, this directive places a restriction on the length of a request-URI allowed for a request on the server. A server needs this value to be large enough to hold any of its resource names, including any information that might be passed in the query part of a GET request. Value is a number from 0 (unlimited) to 8190.

This parameter can be used to prevent any DDOS attack.

좋은 웹페이지 즐겨찾기