Nginx Proxy Configuration

To configure Nginx as proxy, use following configuration

Rule to handle SSL verification

If you are proxying traffic to an application server, you may need Nginx to handle request for SSL verification. In that cause, add following to server block, above location / entry.

Example

https://gist.github.com/serverok/8fb73df8135774f292bb2cc86446ae2c