Nginx does not allow big config queries for /configure endpoint
$ time ./configure_via_api.py Configuration failed. Status code: 413 Response: <html> <head><title>413 Request Entity Too Large</title></head> <body> <center><h1>413 Request Entity Too Large</h1></center> <hr><center>nginx/1.22.1</center> </body> </html>
Requires to increase client_max_body_size in http section for the /etc/nginx/nginx.conf
For example:
client_max_body_size 20M;