Developer reference
Nginx Cheatsheet
Nginx server block, proxy, redirect, and cache snippets.
Test config
Validate configuration before reload.
nginx -t Reload
Reload without dropping connections.
systemctl reload nginx Reverse proxy
Forward requests to an app server.
proxy_pass http://127.0.0.1:3000; Redirect
Create a permanent redirect.
return 301 https://example.com$request_uri;