Nginx basics
Oct 30, 2020
Nginx basics
nginx got master and workerprocess
master will be who starting the process
worker user will be in user directive
To see master and worker use ps -ef — forest
to validate conf use nginx -t
Reverse proxy (proxy_bypass) to pass IP of client to backend conf below
server {
listen 80;
server_name example.com;