Nginx Example

 

This topic describes steps to set up Nginx as a reverse proxy for ISL Conference Proxy.

We have included a sample configuration file, tested with Nginx 1.10.2.

The file myssl.cert is a file containing the appropriate certificate for the chosen DNS name (e.g. isl.example.com), modify appropriately.

The file myssl.key is a file containing the private key for the certificate above, modify appropriately.

You should adjust the list of supported ciphers to fit your requirements, values below are just an example.

Important: Make sure you modify the settings to match your requirements and your environment. Perform detailed connection and usage tests before placing such a server in production. Please refer to the Nginx documentation for details.

Sample configuration file for Nginx (default.conf):

map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}

proxy_buffering off;
proxy_request_buffering off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;

server {
    listen 80;
    server_name isl.example.com;

    location / {
        proxy_pass http://E.F.G.H:7620;
    }
}

server {
    listen 443 ssl;
    server_name isl.example.com;
    ssl_certificate /etc/nginx/ssl/myssl.cert;
    ssl_certificate_key /etc/nginx/ssl/myssl.key;

    location / {
        proxy_pass https://E.F.G.H:7621;
    }
}
Tags: isl conference proxy, reverse proxy

Was this article helpful?