Skip to content

Instantly share code, notes, and snippets.

@betapcode
Created January 31, 2018 02:49
Show Gist options
  • Save betapcode/29bcf03141217cd0f7566def12ad11ea to your computer and use it in GitHub Desktop.
Save betapcode/29bcf03141217cd0f7566def12ad11ea to your computer and use it in GitHub Desktop.
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