Skip to content

Instantly share code, notes, and snippets.

@siddontang
Last active December 15, 2015 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siddontang/5260363 to your computer and use it in GitHub Desktop.
Save siddontang/5260363 to your computer and use it in GitHub Desktop.
simple nginx example
worker_processes 1;
events {
use epoll;
}
http {
default_type text/html;
server {
listen 80;
server_name localhost;
location /hello {
return 200 }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment