|Jake Howard c621b40fd3||3 months ago|
|.github/workflows||10 months ago|
|Dockerfile||9 months ago|
|LICENSE||3 months ago|
|README.md||9 months ago|
|default.conf||9 months ago|
|docker-compose.yml||10 months ago|
|docker-entrypoint.sh||10 months ago|
Customizable and performant static file server - powered by Nginx.
Note: This container is designed for hosting static files, rather than for serving a static site.
If you're not really bothered, the default
nginx container will work just fine for you, however this container has a few modifications which make it more suited to serving static files:
X-Forwarded-Forheader when getting client IP
Nginx makes a brilliant file server regardless of how you use it.
version: "2.3" services: static: image: theorangeone/static-server:latest volumes: - ".:/srv:ro" ports: - "80:80"
The server will serve files in the
/srv directory. This directory can be mounted read-only.
This image supports some customizations: