Sign inSign up

tvup/reverse-proxy

By tvup

•Updated 7 months ago

Nginx reverse proxy with Wake-on-LAN integration — part of idle-less

Image
0

6.3K

tvup/reverse-proxy repository overview

⁠idle-less reverse-proxy

An nginx-based reverse proxy with automatic Wake-on-LAN integration. Part of the idle-less⁠ project.

⁠What it does

Routes traffic to your backend servers. When a backend is sleeping, it redirects to Wakeforce⁠ which sends a Wake-on-LAN packet and shows a waiting screen.

⁠Quick start

curl -fsSL https://raw.githubusercontent.com/tvup/idle-less/master/install.sh | bash

Or use Docker Compose directly:

services:
  reverse-proxy:
    image: tvup/reverse-proxy:latest
    ports:
      - "80:80"
      - "443:443"
    env_file:
      - .env
    volumes:
      - ./certs:/etc/certificate_provider/live/yourdomain.com:ro
    networks:
      - internal

networks:
  internal:
    driver: bridge

⁠Features

  • Multi-domain routing — unlimited domains via DOMAIN_{i}_* env pattern
  • SSL termination — Let's Encrypt compatible certificate mounting
  • HTTPS backends — proxy to both HTTP and HTTPS origins
  • Wakeforce integration — automatic failover to WoL gateway when backends are down
  • Multi-platform — native linux/amd64 and linux/arm64 images

⁠Configuration

Configuration is done via environment variables:

VariableDescriptionExample
DOMAIN_1_HOSTNAMEDomain to routeapp.example.com
DOMAIN_1_IPBackend server IP192.168.1.50
DOMAIN_1_PORTBackend server port3080
DOMAIN_1_USE_SSLEnable SSL for this domainyes
DOMAIN_1_USE_HTTPSBackend uses HTTPSno
DOMAIN_1_CONFIGConfig type (wakeforce or default)wakeforce
DOMAIN_1_IDLE_SERVICEWakeforce service addresswakeforce_1:8182
DOMAIN_1_NO_WAKE_PATTERNSURI prefixes that skip WoL (pipe-separated)/health|/api/agents/chat/status

Built by Torben IT ApS⁠

Tag summary

Content type

Image

Digest

sha256:90c142672…

Size

26.9 MB

Last updated

7 months ago

docker pull tvup/reverse-proxy