Skip to content

Instantly share code, notes, and snippets.

View agneym's full-sized avatar

Agney Menon agneym

View GitHub Profile
@agneym
agneym / nginx.conf
Created June 15, 2021 19:00 — forked from foxxyz/nginx.conf
Serve current directory via nginx
# Extremely basic development setup to serve the current directory at http://localhost:9001
# Start nginx in this directory with `nginx -p . -c nginx.conf`
# Stop nginx with `nginx -p . -s stop`
events {}
http {
# Serve files with correct mimetypes on OSX
# location may have to be adjusted depending on your OS and nginx install
include /usr/local/etc/nginx/mime.types;