NGINX configuration: any limit on location blocks?
June 12, 2024 03:26PM
Hello Everyone,

We are using NGINX/OpenResty on the gateway in such way, where each service has its own location block.
Config file is slowly growing and we are worrying about the limitations (if any). How many location blocks NGINX can handle, is there any limit? So far the config consist of several thousands of location blocks, we don't observe any issues, however we want to understand the boundaries
Re: NGINX configuration: any limit on location blocks?
July 22, 2024 08:09AM
There is no strict limit on the number of location blocks NGINX can handle, practical limits will depend on your server's hardware and how efficiently your configuration is managed.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 108
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready