-
-
Save icopp/51ed52cce544e1e4d425312510c977be to your computer and use it in GitHub Desktop.
Simple nginx.conf file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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