Created
January 31, 2018 02:49
-
-
Save betapcode/29bcf03141217cd0f7566def12ad11ea to your computer and use it in GitHub Desktop.
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 apache; | |
worker_processes 4; | |
error_log logs/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 2048; | |
} | |
worker_rlimit_nofile 30000; | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' | |
'"$http_user_agent" "$http_x_forwarded_for"'; | |
#access_log logs/access.log main; | |
access_log off; | |
sendfile on; | |
tcp_nopush on; | |
server_tokens off; | |
include /etc/nginx/conf.d/*.conf; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment