ElevenNotes b17609bebf add examples
2023-06-09 22:24:17 +02:00
2023-06-09 22:24:17 +02:00
2018-01-15 09:51:40 +01:00
2022-11-03 08:36:51 +01:00
typo 😅
2023-06-06 07:25:20 +02:00
typo 😅
2023-06-06 07:25:20 +02:00
2023-06-09 22:24:17 +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

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%