Skip to content

Instantly share code, notes, and snippets.

@michaelneale
Created February 22, 2011 07:42
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 michaelneale/838344 to your computer and use it in GitHub Desktop.
Save michaelneale/838344 to your computer and use it in GitHub Desktop.
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
server_names_hash_max_size 200000;
server_names_hash_bucket_size 128;
sendfile on;
keepalive_timeout 65;
server {
listen 8080;
server_name 1.subdomain.com;
location / {
proxy_pass http://localhost:9090/;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment