| Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | user  www; | 
| Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 2 | worker_processes 1; | 
 | 3 | pid /run/nginx/nginx.pid; | 
 | 4 | include /etc/nginx/modules-enabled/*.conf; | 
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 |  | 
 | 6 | events { | 
| Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 7 |     worker_connections 768; | 
 | 8 |     # multi_accept on; | 
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | } | 
 | 10 |  | 
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | http { | 
| Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 12 |     # Basic Settings | 
 | 13 |     sendfile on; | 
 | 14 |     tcp_nopush on; | 
 | 15 |     tcp_nodelay on; | 
 | 16 |     keepalive_timeout 65; | 
 | 17 |     types_hash_max_size 2048; | 
 | 18 |     # server_tokens off; | 
 | 19 |  | 
 | 20 |     # server_names_hash_bucket_size 64; | 
 | 21 |     # server_name_in_redirect off; | 
 | 22 |  | 
 | 23 |     include       /etc/nginx/mime.types; | 
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 24 |     default_type  application/octet-stream; | 
 | 25 |  | 
| Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 26 |     # SSL Settings | 
 | 27 |     ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE | 
 | 28 |     ssl_prefer_server_ciphers on; | 
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 29 |  | 
| Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 30 |     ## Logging | 
 | 31 |     access_log /var/log/nginx/access.log; | 
 | 32 |     error_log /var/log/nginx/error.log; | 
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 33 |  | 
| Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 34 |     ## Gzip settings | 
 | 35 |     gzip  on; | 
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 36 |  | 
| Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 37 |     gzip_vary on; | 
 | 38 |     gzip_proxied any; | 
 | 39 |     gzip_comp_level 6; | 
 | 40 |     gzip_buffers 16 8k; | 
 | 41 |     gzip_http_version 1.1; | 
 | 42 |     gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; | 
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 43 |  | 
| Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 44 |     ## Virtual Host Configs | 
 | 45 |     include /etc/nginx/conf.d/*.conf; | 
 | 46 |     include /etc/nginx/sites-enabled/*; | 
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 47 | } |