Skip to main content

Reverse Proxy

Introduction

Nginx Proxy Manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface

nginx-proxy

nginx-proxy sets up a container running nginx and docker-gen. docker-gen generates reverse proxy configs for nginx and reloads nginx when containers are started and stopped.

GoDoxy

A lightweight, simple, and performant reverse proxy with WebUI.

Configuration

/etc/nginx/sites-available/default:

server {
    listen 80;
    server_name your-server-ip;

    location /pull-repo {
        proxy_pass http://localhost:5000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

Caddy

Caddy + Pi-Hole

本地服務(*.local, *.lan )的 HTTPS 解決方案

    Clean Local Domains with HTTPS for Your Homelab — No Domain Purchase Required - DB Tech Reviews How I Set Up .local Domains with Valid HTTPS in My Homelab - YouTube