Nginx 414 Request-URI Too Large 에러 조치

2025. 1. 30. 23:09Web Server/nginx

GET 호출에 대한 길이 제한 조치

http {
    large_client_header_buffers 4 16k;
}

POST 호출에 대한 길이 제한 조치

client_max_body_size 50M;

Reverse Proxy 길이 제한 조치

proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

nginx 재시작

sudo systemctl restart nginx

'Web Server > nginx' 카테고리의 다른 글

차단 IP 목록  (0) 2025.02.01
Nginx 특정 IP 막기  (0) 2025.02.01
Nginx 80port를 443port로 redirect 하기  (0) 2025.01.30
Nginx 파일 업로드 용량 제한 조치  (0) 2024.12.30
Nginx proxy에서 client IP를 backend에 전달하기  (0) 2024.12.29