You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that to update the nginx conf I need to add my file into /opt/docker/etc/nginx/conf.d directory; this adds the configuration into http {} context. For example I can add multiple server {} context:
http {
server {
}
server {
}
}
But how I can add directive like worker_processes that is in main context? Should I override the file /etc/nginx/nginx.conf?
Thank you
The text was updated successfully, but these errors were encountered:
vlauciani
changed the title
nginx - set worker_processes
nginx - Set directive into 'main' context; i.e.: "worker_processes"
Sep 15, 2023
Hi
Reading the guide here:
or the issue:
I understand that to update the nginx conf I need to add my file into
/opt/docker/etc/nginx/conf.d
directory; this adds the configuration intohttp {}
context. For example I can add multipleserver {}
context:But how I can add directive like
worker_processes
that is inmain
context? Should I override the file/etc/nginx/nginx.conf
?Thank you
The text was updated successfully, but these errors were encountered: