Simple Local Nginx Config

I made this as a drop-in replacement for python3 -m http.server 8998 or the older Python 2 python -m SimpleHTTPServer 8998 , because I needed a file server that supported range requests and CORS . That is, this is a simple nginx config that serves static files from the current directory $PWD , with all the goodies that it supports out of the box: high performance, range requests, caching/ETags,…