Hi,
I need to enable this directive for one of the websites:
client_max_body_size 8M;
If i try to put this
http {
client_max_body_size 8M;
}
in Custom configuration or in Custom top level configuration, but after that, nginx stops to work
and if I type: nginx -t
it shows this:
nginx: [emerg] "http" directive is not allowed here in /etc/nginx/conf.d/xxxxx.conf:18
Hi, I need to enable this directive for one of the websites: client_max_body_size 8M;
If i try to put this http { client_max_body_size 8M; } in Custom configuration or in Custom top level configuration, but after that, nginx stops to work and if I type: nginx -t it shows this: nginx: [emerg] "http" directive is not allowed here in /etc/nginx/conf.d/xxxxx.conf:18
Where I should put this directive? Thanks