Sign inSign up

pr0ger/dumb-http-server

By pr0ger

•Updated almost 8 years ago

The dumb HTTP server

Image
0

235

pr0ger/dumb-http-server repository overview

⁠dumb-http-server

Docker MicroBadger Size

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"

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

Size

5.3 MB

Last updated

almost 8 years ago

docker pull pr0ger/dumb-http-server