optimized for serving static files
xj9 a62154eedd enable autoindex 8 months ago
.dockerignore Update README.md, .dockerignore 3 years ago
.gitignore Add .*ignore files 3 years ago
Dockerfile add healthcheck 11 months ago
LICENSE Update LICENSE 2 years ago
README.md fixup, remove tls settings 1 year ago
build add healthcheck 11 months ago
default.conf enable autoindex 8 months ago
mime.types add mime.types 11 months ago
nginx.conf fix startup error 1 year ago
publish fixup, remove tls settings 1 year ago

README.md

xj9/static-files

A tiny front-end server.

Usage

Simply copy your configuration files and/or content into a new image based on 0xj9/static-files:

FROM 0xj9/static-files
COPY nginx.conf /etc/nginx/sites-enabled/default
COPY htdocs /var/www

Features

This image is very small (3MB), but super handy:

  • nginx is tuned for optimal performance based on common use-cases.

Contribute

Pull requests welcome!