Nginx Reverse Proxy Generator
With SSL the certificate paths are placeholders for Certbot/Let’s Encrypt. Place the config in /etc/nginx/sites-available/ and test with nginx -t.
Configure Nginx as a reverse proxy
The tool generates a complete server block that forwards requests to a backend – for example an app on 127.0.0.1:3000. Exactly the standard case in a homelab when several services should run behind one domain.
- Proxy headers:
Host,X-Real-IPandX-Forwarded-*are set so the backend knows the real client address and protocol. - SSL: Enables an 80→443 redirect and an HTTPS block with Let’s Encrypt paths (generated via Certbot).
- WebSocket: Adds the
Upgradeheaders that services like Nextcloud Talk, Home Assistant or Vaultwarden need.
After pasting, check the config with nginx -t and activate it with systemctl reload nginx.
