Skip to content

Instantly share code, notes, and snippets.

@icopp
Forked from bsergean/nginx.conf
Last active August 14, 2017 18:06
Show Gist options
  • Save icopp/51ed52cce544e1e4d425312510c977be to your computer and use it in GitHub Desktop.
Save icopp/51ed52cce544e1e4d425312510c977be 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 80;
root /Whatever/folder/path;
error_page 404 =200 /index.html;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment