This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# User and group that workers will use. | |
user nginx nginx; | |
# Number of NGINX workers. Usually it's set, at maximum, 1 worker per CPU core. | |
# If the server has 2+ CPU cores but it still does not receive many requests, | |
# it's a good idea to keep the value to 1 so it will avoid creating idle processes. | |
worker_processes 2; | |
# NGINX's master process id. | |
pid /var/run/nginx.pid; |