It is necessary to change the value of client_max_body_size in the nginx (debian) config file, I add in /etc/nginx/nginx.conf at the beginning of the file

client_max_body_size 100m; 

after which the nginks reboot - and as a result, the nginks do not start ..

ps by default client_max_body_size is missing from the config file.

    1 answer 1

    Make sure that the directive in the nginx.conf file is inside the http block, and not just at the beginning of the file.

     http { client_max_body_size 16M; # ... server { location { } }} 
    • and can be such that client_max_body_size by default in a config is absent? - Ozim 1
    • that's OK thanks! - Ozim 1