All tools / Net

nginx reverse proxy snippet

Write an nginx server block that proxies to an upstream, with optional WebSocket headers.

In the browser

Certificate paths are placeholders when TLS is selected. The snippet is text for you to review. This page does not talk to nginx or create a key.