Skip to content

Instantly share code, notes, and snippets.

View diogobaeder's full-sized avatar

Diogo Baeder diogobaeder

View GitHub Profile
@abdennour
abdennour / README.md
Last active June 19, 2024 10:38
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