Is this a production-ready Nginx config?
No. It is a best-effort generator, so you should review and adjust the output before using it in production.
DevToolkit
Nginx Reverse Proxy Generator
Browser only
Generate Nginx reverse proxy server blocks for self-hosted apps, Docker services, WebSocket apps, and HTTPS setups in your browser.
Example output
server {
listen 80;
server_name example.com;
location / {
client_max_body_size 50m;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:3000;
proxy_redirect off;
}
}Deep dive
Useful when you want a fast starting point for a reverse proxy without hand-writing every directive, especially for a Docker-backed app.
Overview
It generates Nginx reverse proxy server blocks in your browser from a domain, upstream target, and optional toggles for WebSocket support, common proxy headers, HTTPS templates, and HTTP-to-HTTPS redirects.
Input samples
Basic reverse proxy
domain: example.com upstream: http://127.0.0.1:3000 common proxy headers: on websocket support: off
WebSocket app
domain: app.example.com upstream: http://app:8080 common proxy headers: on websocket support: on client_max_body_size: 100m
HTTPS and redirect
domain: app.example.com upstream: https://127.0.0.1:8443 common proxy headers: on websocket support: on redirect block: on SSL template: on
When to use it
Navigation
Keep moving through the collection, workflow, and adjacent tools that usually belong with this page.
Related workflow
Continue with the tool chain that usually goes together here.
Deploy a self-hosted app
Prepare Docker environment files, volume mappings, reverse proxy snippets, and header checks before you ship a service.
Related tools
Open the closest adjacent tools without leaving the current context.
Answers
Is this a production-ready Nginx config?
No. It is a best-effort generator, so you should review and adjust the output before using it in production.
Does it support HTTPS upstreams?
Yes. Select https as the upstream protocol and the generated proxy_pass line will use an https upstream URL.
Will it use my real SSL certificate paths?
It uses placeholder paths based on the domain you enter. Adjust the certificate files, server names, and upstream address to match your environment.
What should I check after generating the proxy?
Review the upstream host, port, headers, TLS paths, and redirect block, then verify the response with the header tools.
Disclaimer
This is a best-effort config generator, not a replacement for hands-on review. Check the generated output before production use and adjust the SSL certificate paths, real domain names, upstream service address, and any environment-specific directives to fit your setup. All content is generated locally in your browser and is not uploaded to a server.
Privacy
Generation happens entirely in your browser. No file is uploaded, no login is required, and DevToolkit does not store the values you enter.