Configuration Directives

There are hundreds of Nginx Configuration directives. Some are rarely seen. Others are seen in almost every installation. This knowledge won’t try to explain every directive. It will however give pragmatic advice on the more common and useful directives.

server

listen

server_name

root

location

try_files