Skip to content

Instantly share code, notes, and snippets.

@xydinesh
Forked from bsergean/nginx.conf
Created February 1, 2018 22:01
Show Gist options
  • Save xydinesh/04365043ed6f810263e3e3e3a2608b53 to your computer and use it in GitHub Desktop.
Save xydinesh/04365043ed6f810263e3e3e3a2608b53 to your computer and use it in GitHub Desktop.
Simple nginx.conf file
#
# Run in the foreground locally
# nginx -p . -c nginx.conf
#
worker_processes 1;
daemon off;
error_log nginx_error.log;
events {
worker_connections 1024;
}
http {
server {
listen 8008;
location / {
root /Users/bsergean/src/sandbox/json/jsoncpp;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment