Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 697 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 697 Bytes

best-nginx

A custom nginx image with some additional modules and some functionality removed. Perfect as a reverse proxy.

Notable Features:

  • http/3 support (quic)
  • brotli support
  • headers-more-nginx-module
  • geoip2 support
  • removed many modules that are not needed for a reverse proxy
  • packaged inside a slim alpine image without build dependencies

Run

docker run -d -p 80:80 -p 443:443 -v /path/to/nginx.conf:/etc/nginx/nginx.conf ghcr.io/vojkovic/best-nginx/best-nginx:latest

As docker compose:

services:
  nginx:
    image: ghcr.io/vojkovic/best-nginx/best-nginx:latest
    network_mode: host
    volumes:
      - /path/to/nginx.conf:/etc/nginx/nginx.conf