Skip to content

Nginx Reverse Proxy Config

Jordan Knott edited this page Nov 29, 2020 · 1 revision
server {
      server_name <SERVER_DOMAIN>;
      listen 80
        location / {
            proxy_pass         http://localhost:3333;
            proxy_redirect     off;
            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-Host $server_name;
        }
}
Clone this wiki locally