diff options
| author | Logan Hunt <logan.hunt@usu.edu> | 2023-01-31 15:59:33 -0700 |
|---|---|---|
| committer | Logan Hunt <logan.hunt@usu.edu> | 2023-01-31 15:59:33 -0700 |
| commit | 387ac72d1bdf44f882f3f1ae23b9415884234cbe (patch) | |
| tree | 11d484f5b7fabddc6bae9af67f0174d5f3ff0b01 /buildscripts/build/nginx.conf | |
| parent | e3604eaeb8bbabb48418db45fd7611722428ae2e (diff) | |
| download | chessh-387ac72d1bdf44f882f3f1ae23b9415884234cbe.tar.gz chessh-387ac72d1bdf44f882f3f1ae23b9415884234cbe.zip | |
Distributed build tasks!!
Diffstat (limited to 'buildscripts/build/nginx.conf')
| -rw-r--r-- | buildscripts/build/nginx.conf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/buildscripts/build/nginx.conf b/buildscripts/build/nginx.conf new file mode 100644 index 0000000..baf2cb4 --- /dev/null +++ b/buildscripts/build/nginx.conf @@ -0,0 +1,28 @@ +user www-data; +worker_processes auto; +pid /run/nginx.pid; +include /etc/nginx/modules-enabled/*.conf; + +events { + worker_connections 768; +} + +http { + sendfile on; + tcp_nopush on; + types_hash_max_size 2048; + + include /etc/nginx/mime.types; + default_type application/octet-stream; + + ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE + ssl_prefer_server_ciphers on; + + access_log /var/log/nginx/access.log; + error_log /var/log/nginx/error.log; + + gzip on; + + include /etc/nginx/conf.d/*.conf; + include /etc/nginx/sites-enabled/*.conf; +} |
