Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Using Flood behind a reverse proxy

John Furrow edited this page Oct 4, 2017 · 12 revisions

In order to use Flood behind a reverse proxy, you must be sure to forward all routes to Flood's node server.

In the following configuration examples, let's assume Flood is running at 127.0.0.1:3000, and that you would like to serve the Flood app at /flood.

Your nginx config should contain these rules:

location /flood {
  rewrite ^/flood/(.*) /$1 break;
  proxy_pass http://127.0.0.1:3000;
}

And your Flood config should contain the following values:

baseURI: '/flood'
Clone this wiki locally