Skip to content

Instantly share code, notes, and snippets.

View rirl's full-sized avatar
🎯
Focusing

rirl

🎯
Focusing
View GitHub Profile
@rirl
rirl / README.md
Created May 28, 2020 13:37 — forked from abdennour/README.md
Nginx Reverse Proxy for Nexus Docker Registries

Overview

This is a solution of a common problem with Nexus Docker repositories. The administrator has to expose port for "pull", another port for "push", other ports for each hosted repository. This solution is about leveraging Nginx reverse proxy to avoid using these ports.

How it works ?

Given :

  • Nexus hostname is "nexus.example.com"
  • Nexus web port is 8081