Created
December 26, 2014 03:50
-
-
Save CMGS/b56b7d3f121cc3be7045 to your computer and use it in GitHub Desktop.
nginx conf
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
user root; | |
worker_processes 8; | |
daemon off; | |
error_log /root/error.log; | |
pid /root/nginx.pid; | |
events { | |
worker_connections 102400; | |
multi_accept on; | |
use epoll; | |
} | |
http { | |
include /etc/nginx/mime.types; | |
default_type application/octet-stream; | |
access_log off; | |
sendfile on; | |
tcp_nopush on; | |
tcp_nodelay on; | |
keepalive_timeout 15; | |
keepalive_requests 100000; | |
reset_timedout_connection on; | |
gzip on; | |
upstream up{ | |
server 127.0.0.1:9991; | |
} | |
server { | |
listen 10080; | |
server_name 10.1.201.16; | |
location ~ ^/ { | |
proxy_pass http://up; | |
} | |
} | |
} |
Author
CMGS
commented
Dec 26, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment