Nothing Special   »   [go: up one dir, main page]

Skip to content

Dumb HTTP server to serve static files without any extra features

License

Notifications You must be signed in to change notification settings

Pr0Ger/dumb-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Dumb HTTP server to serve static files without any extra features

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published