Skip to content

Instantly share code, notes, and snippets.

@nickscript0
Last active August 19, 2018 15:45
Show Gist options
  • Save nickscript0/45ab2e7de6e0ef862513b0914febf388 to your computer and use it in GitHub Desktop.
Save nickscript0/45ab2e7de6e0ef862513b0914febf388 to your computer and use it in GitHub Desktop.

Snipped from here.

Python 2.x

python -m SimpleHTTPServer 8000

Python 3.x

python -m http.server 8000

Docker Nginx

docker run --rm --name nginx -v $(pwd):/usr/share/nginx/html:ro -p 8000:80 -d nginx

Docker Caddy

TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment