Skip to content

Serve Jingo pages behind a reverse proxy

Claudio Cicali edited this page Dec 28, 2015 · 1 revision

How to serve Jingo pages behind a reverse proxy

It is quite a common configuration the one which sees an nginx web server facing the internet on the usual port 80, and then forwarding the requests to a Jingo server running on another port. This configuration uses nginx as a reverse proxy server an the very minimal configuration for nginx itself is the following:

http {
    server {
        listen 80;

        server_name www.mywiki.org;

        location / {
            proxy_pass http://127.0.0.1:6067;
        }
    }
}

No additional configuration needs to be made to Jingo itself.