Kitloft

All tools / DevOps & infrastructure

Nginx reverse proxy config generator

Set your domains, routes and SSL type, then copy a ready-to-use configuration.



Runs entirely in your browser. Nothing you type or upload is sent to a server.

Found it useful? Share it:WhatsAppTelegram

How to use Nginx config generator

  1. Enter your domains, one per line, and pick the SSL type.
  2. Add a route for each path and the app address behind it.
  3. Turn on the options you need, such as WebSockets, HTTP/2 and security headers.
  4. Copy the config into /etc/nginx/conf.d/, test it with nginx -t, then reload nginx.

Common questions

How do I run several apps on different ports?

Add one route per app. For example, send / to 127.0.0.1:3000 and /api/ to 127.0.0.1:4000.

How do I load balance across several instances?

Put more than one address in a route, separated by commas. The generator creates an upstream block that Nginx balances round-robin.

Which SSL type should I choose?

Use Let's Encrypt for a server that serves HTTPS itself. Use AWS ACM when an ALB or CloudFront terminates HTTPS in front of Nginx. Use a Cloudflare Origin Certificate when Cloudflare proxies your traffic.

Is my input sent anywhere?

No. The config is generated in your browser.

Was this page useful?