2023-08-29 09:24:14 +02:00
2023-06-09 22:25:49 +02:00
2023-08-29 09:24:14 +02:00
2018-01-15 09:51:40 +01:00
2022-11-03 08:36:51 +01:00
2023-08-29 09:24:14 +02:00
typo 😅
2023-06-06 07:25:20 +02:00
2023-06-15 23:36:14 +02:00

Alpine :: Nginx

Run Nginx based on Alpine Linux. Small, lightweight, secure and fast 🏔️

Volumes

  • /nginx/etc - Directory of vHost config, must end in *.conf (set in /etc/nginx/nginx.conf)
  • /nginx/www - Directory of webroot for vHost
  • /nginx/ssl - Directory of SSL certificates

Run

docker run --name nginx \
  -v .../etc:/nginx/etc \
  -v .../www:/nginx/www \
  -v .../ssl:/nginx/ssl:ro \
  -d 11notes/nginx:[tag]

Defaults

Parameter Value Description
user docker user docker
uid 1000 user id 1000
gid 1000 group id 1000

Environment

Parameter Value Default
HEALTHCHECK_PROTO http or https http
HEALTHCHECK_HOST localhost or 127.0.0.1 or a dedicated IP localhost
HEALTHCHECK_PORT any TCP port 8080
HEALTHCHECK_URL any URL, must start with / /

Delta

Additional plugins:

  module_headers_more

Parent

Built with

Tips

  • You can find some examples of special backend configurations
  • Don't bind to ports < 1024 (requires root), use NAT/reverse proxy
  • Permanent Stroage - Module to store permanent container data via NFS/CIFS and more
Description
Nginx, slim and distroless to be used behind a reverse proxy or as full version as a proxy
Readme MIT 186 KiB
Languages
Dockerfile 100%