dumb-http-server
Literally the dumbest http server. I use it to serve static files through Traefik
How to use
For example we want to serve contents of ./static/*
folder via yourdomain.com/static/*
.
services:
static:
image: pr0ger/dumb-http-server
volumes:
- ./static:/data
labels:
- "traefik.backend=static"
- "traefik.frontend.rule=PathPrefixStrip:/static;Host:yourdomain.com"
- "traefik.port=80"
- "traefik.enable=true"