Is it ok to edit /etc/nginx/nginx.conf ?
Is it ok to edit /etc/nginx/nginx.conf ?
Hello,
Is it ok to edit the file : /etc/nginx/nginx.conf ?
I ask this question because the file can be updated with a next update from nginx, no?
I must to add these lines:
I have edit /etc/nginx/nginx.conf at this time, until I have a answer to my newbie question.
Thanks.
Is it ok to edit the file : /etc/nginx/nginx.conf ?
I ask this question because the file can be updated with a next update from nginx, no?
I must to add these lines:
Code: Select all
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
Thanks.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Is it ok to edit /etc/nginx/nginx.conf ?
No, this file not be updated automatically in future, you can edit it.
Also, you can create separate config file for your own settings in /etc/nginx/conf.d/your-file-name.conf - this file will be included into http{} config section