Skip to content

Instantly share code, notes, and snippets.

@MattSegal
Created December 31, 2020 08:50
Show Gist options
  • Save MattSegal/f07d0bd1d1984e367ee7d1126c1d99d0 to your computer and use it in GitHub Desktop.
Save MattSegal/f07d0bd1d1984e367ee7d1126c1d99d0 to your computer and use it in GitHub Desktop.
user root;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
server_tokens off;
client_max_body_size 20M;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment