Eugeny / ajenti-v

Virtual Hosting addon for Ajenti
ajenti.org/#product-ajenti-v
MIT License
225 stars 79 forks source link

Problem with Custom configuration #173

Closed mascor closed 7 years ago

mascor commented 9 years ago

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