Container w/ NGINX & LetsEncrypt
Go to file
Daniel Wolf f8e50ac7ba
Build Container Image / build_arm64 (push) Successful in 36s Подробиці
Build Container Image / build_amd64 (push) Successful in 43s Подробиці
Build Container Image / build_riscv64 (push) Successful in 46s Подробиці
Build Container Image / build_armhf (push) Successful in 1m3s Подробиці
Build Container Image / build_i386 (push) Successful in 35s Подробиці
Build Container Image / push_amd64 (push) Successful in 7s Подробиці
Build Container Image / push_i386 (push) Successful in 12s Подробиці
Build Container Image / push_arm64 (push) Successful in 12s Подробиці
Build Container Image / push_armhf (push) Successful in 12s Подробиці
Build Container Image / push_riscv64 (push) Successful in 13s Подробиці
Build Container Image / build (push) Successful in 1m39s Подробиці
Build Container Image / push (push) Successful in 3m15s Подробиці
Build Container Image / update_readme (push) Successful in 8s Подробиці
chore: just add a comment to separate build stages
2024-03-29 14:23:44 -04:00
.gitea/workflows fix: we do not need to auth with dockerhub so much 2024-03-29 13:38:16 -04:00
.reuse chore: better reuse compliance 2024-03-27 22:45:40 -04:00
LICENSES add reuse copyright information 2023-10-25 11:04:05 -04:00
override chore: better reuse compliance 2024-03-27 22:45:40 -04:00
.dockerignore update *ignore files 2023-10-25 10:50:07 -04:00
Dockerfile chore: just add a comment to separate build stages 2024-03-29 14:23:44 -04:00
LICENSE.md update license #noci 2024-03-09 09:38:45 -05:00
README.md update readme 2024-03-06 11:24:12 -05:00
docker-compose.yml add reuse copyright information 2023-10-25 11:04:05 -04:00

README.md

Git | Docker | unRAID

NGINX Reverse Proxy/Web Server

This docker container manages the NGINX application, a lightweight web server and reverse proxy. It includes certbot/letsencrypt for easily obtaining TLS certificates if your server is publicly accessible.

The latest tag points to version 1.25.4 and this is the only image actively being updated. There are tags for older versions, but these may no longer be using the latest Alpine version and packages.

This container is primarily intended to be used as a reverse proxy/cache to access other containers. You can certainly serve static content, but tools like PHP or MySQL are not included.

Docker-Compose

This is an example docker-compose file:

services:
  nginx:
    image: nephatrine/nginx-ssl:latest
    container_name: nginx
    environment:
      TZ: America/New_York
      PUID: 1000
      PGID: 1000
      ADMINIP: 127.0.0.1
      TRUSTSN: 192.168.0.0/16
      DNSADDR: "8.8.8.8 8.8.4.4"
      SSLEMAIL: 
      SSLDOMAINS: 
      B_MODULI: 4096
      B_RSA: 4096
      B_ECDSA: 384
    ports:
      - "80:80/tcp"
      - "443:443/tcp"
      - "443:443/udp"
    volumes:
      - /mnt/containers/nginx:/mnt/config

Server Configuration

These are the configuration and data files you will likely need to be aware of and potentially customize.

  • /mnt/config/etc/mime.type
  • /mnt/config/etc/nginx.conf
  • /mnt/config/etc/nginx.d/*
  • /mnt/config/www/default/*

Modifications to some of these may require a service restart to pull in the changes made.