February 2018
Beginner to intermediate
348 pages
9h 40m
English
We will be going down the blocks starting at the top level: the HTTP blocks, encompassing directives that have an effect on the entire server. This implies that the directives placed here will affect all of the websites served by this instance of Nginx. Open your Nginx main configuration file (nginx.conf) and insert or update the following directives:
# Sets the user and group under which the worker processes # will run. The following values are valid assuming your server # will only be hosting one website. user wordpress wordpress; worker_processes 8; # 1 process per core pid /var/run/nginx.pid; events { # Edit this value depending on your server hardware worker_connections 768; } http { # Core settings affecting I/O sendfile ...Read now
Unlock full access