diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-10-29 11:56:03 -0700 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-11-20 18:56:05 +0000 |
commit | 9dcd8e2aa3add64fde70901437310573cbf2d870 (patch) | |
tree | 536ed9d3abee28a8cf87173379a86b85cf37293e /user/nginx/nginx.conf | |
parent | aa810ef31e326655790d0b0de54d8d19d611edd5 (diff) | |
download | packages-9dcd8e2aa3add64fde70901437310573cbf2d870.tar.gz packages-9dcd8e2aa3add64fde70901437310573cbf2d870.tar.bz2 packages-9dcd8e2aa3add64fde70901437310573cbf2d870.tar.xz packages-9dcd8e2aa3add64fde70901437310573cbf2d870.zip |
user/nginx: new packagezv/nginx
Diffstat (limited to 'user/nginx/nginx.conf')
-rw-r--r-- | user/nginx/nginx.conf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/user/nginx/nginx.conf b/user/nginx/nginx.conf new file mode 100644 index 000000000..204d667d5 --- /dev/null +++ b/user/nginx/nginx.conf @@ -0,0 +1,28 @@ +# This is an example configuration file for nginx, with a number of secure +# defaults specified already. + +# The system user that nginx runs under. +user nginx; + +# The number of worker processes nginx should have. 'Auto' allows nginx +# to determine for itself; typically this value should be the number of +# cores you wish nginx to use. +worker_processes auto; + +# HTTP-specific configuration +http { + # Default mapping of MIME types to file extensions. + include mime.types; + + # The default MIME type to use for unknown extensions. + default_type application/octet-stream; + + # This setting enables gzip-based compression, reducing bandwidth usage. + gzip on; + + # Global configuration. + include conf.d/*.conf; + + # Site configuration. + include sites.d/*.conf; +} |