Reverse Proxy with Nginx Proxy Manager

 

What is Nginx Proxy Manager?

Nginx Proxy Manager ​is a pre-built docker image that enables users to accomplish reverse proxying hosts with SSL termination easily.


Features

  • Beautiful and Secure Admin Interface (Tabler)
  • Easily create forwarding domains, redirections, streams, and 404 hosts without knowing anything about Nginx
  • Free SSL using Let’s Encrypt or provide your own custom SSL certificates
  • Access Lists and basic HTTP Authentication for your hosts
  • Advanced Nginx configuration available for super users
  • User management, permissions, and audit log

Prerequisite

  • Server with Docker and Docker compose Installed
  • Public IP and domain name

Quick Setup

  1. Create a docker-compose.yml file similar to this:
  2. Bring up your stack by running
    docker-compose up -d
  3. Access Nginx Proxy Manager admin UI through http://127.0.0.1:81 with below default credential:
    Email:    admin@example.com
    Password: changeme

    Note: Immediately after logging in with this default user you will be asked to modify your details and change your password.






  4. Configure your domain name (k247.win, www.k247.win) details to point to your Nginx proxy manager server public IP address.
  5. Create Hosts to forward traffic from the Nginx proxy manager to your website or services. Hosts -> Proxy Hosts -> Add Proxy Host







Next Post Previous Post