DevBox

Nginx Reverse Proxy Config Generator

⑥ Deploy

What it is: Reverse proxy: forward visitors of your domain to the program actually running behind it, and handle HTTPS along the way.

When to use: When your app runs on some port and you want to serve it over a domain with a padlock.

Everything runs locally in your browser — nothing is uploaded.

FAQ

Do I need a trailing slash after proxy_pass?

With a path (e.g. http://127.0.0.1:3000/api/), the slash changes the meaning: without it the location prefix is passed to the upstream, with it the prefix is stripped. This tool proxies to root by default, so it is not affected; adjust as needed for custom paths.

Why is the Caddy config so short?

Caddy automatically obtains and renews HTTPS certificates and handles WebSocket for you, so there is no need to write certificate paths or Upgrade headers. If you would rather not deal with certificates, Caddy is the easier choice.

Related tools