Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Is it ok to edit /etc/nginx/nginx.conf ?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
floown
Posts: 87
Joined: Wed Nov 19, 2014 1:51 pm

Os: Ubuntu 15x
Web: apache + nginx
Is it ok to edit /etc/nginx/nginx.conf ?
  • Quote

Post by floown » Sat Mar 02, 2019 8:15 pm

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:

Code: Select all

proxy_buffer_size   128k;
proxy_buffers   4 256k;
proxy_busy_buffers_size   256k;
I have edit /etc/nginx/nginx.conf at this time, until I have a answer to my newbie question.

Thanks.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Is it ok to edit /etc/nginx/nginx.conf ?
  • Quote

Post by grayfolk » Sat Mar 02, 2019 10:43 pm

floown wrote: ↑
Sat Mar 02, 2019 8:15 pm
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?
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
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password