mywhm

Active Member
Jan 15, 2014
37
2
58
cPanel Access Level
Root Administrator
hello there
I need to change this worker_processes also another settings
does cpanel have Template for /etc/nginx/nginx.conf ?
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
500
45
103
Houston, TX
cPanel Access Level
Root Administrator
Hello! I believe the following document contains the information you need regarding making custom changes to the nginx.conf file on cPanel servers.

 

mywhm

Active Member
Jan 15, 2014
37
2
58
cPanel Access Level
Root Administrator
hi
that documentation does not say nothing about worker_processes neither of nginx.conf
can you explain what is the relationship between /etc/nginx/conf.d/ea-nginx.conf and /etc/nginx/nginx.conf ?
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
500
45
103
Houston, TX
cPanel Access Level
Root Administrator
The ea-nginx.conf file is simply the name of the nginx.conf file for cPanel-supported versions of nginx. You would simply put the value you need in a custom conf file.


Global configuration
Place any global .conf files that you create in the /etc/nginx/conf.d/ directory.

If you want to adjust every server block on your server, create your .conf file in the /etc/nginx/conf.d/server-includes/ directory.

Note:
Make certain that you also reference your .conf file with an include directive in the file that you want to use it in.