Nginx error_page가 ngx_http_limit_conn_module에서 작동하지 않습니다.

Nginx error_page가 ngx_http_limit_conn_module에서 작동하지 않습니다.

limit_conn_zone다음과 같이 정의하는 http 블록이 있고 서버 구성이 있는 limit_conn_zone $host zone=test:10m; 다른 파일에 대한 참조가 있습니다..conf

server {
..
...
limit_conn_dry_run off;
limit_conn test 2;
limit_conn_log_level error;
limit_conn_status 429;
error_page 429 /429.html;
...
....
..
error_page  429     /429.html;
location = /429.html {
    root /usr/share/nginx/error;
 }

429.html에 파일이 존재하는 것을 확인했습니다 /usr/share/nginx/error. 내 목표는 nginx의 기본 오류 페이지(현재 발생하고 있는) 대신 내 사용자 정의 오류 페이지를 표시하고 싶은 것입니다. 뭔가 빠졌나요? 따라해보려고 했는데https://stackoverflow.com/questions/49471131/is-there-a-way-to-display-an-error-for-the-user-when-using-nginx-limit-conn-modu하지만 아무데도 가지 못했습니다. 감사해요!

관련 정보