Referenzbibliothek
Nginx-Cheatsheet
Nginx-Snippets für Server-Blocks, Proxy, Redirects und Cache.
Test config
Referenz: Validate configuration before reload.
nginx -t Reload
Referenz: Reload without dropping connections.
systemctl reload nginx Reverse proxy
Referenz: Forward requests to an app server.
proxy_pass http://127.0.0.1:3000; Redirect
Referenz: Create a permanent redirect.
return 301 https://example.com$request_uri;