diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-10-29 11:56:03 -0700 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-08-10 06:25:50 +0000 |
commit | 944b62e2e4293dddde0178fcf5185b6bb114c6e5 (patch) | |
tree | 534dda6750487b28093fd33dd1581ff9d2a85922 /user/nginx/nginx.conf | |
parent | 6f94d419b70e2881ce6d9c37233b5a13dca61d08 (diff) | |
download | packages-944b62e2e4293dddde0178fcf5185b6bb114c6e5.tar.gz packages-944b62e2e4293dddde0178fcf5185b6bb114c6e5.tar.bz2 packages-944b62e2e4293dddde0178fcf5185b6bb114c6e5.tar.xz packages-944b62e2e4293dddde0178fcf5185b6bb114c6e5.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; +} |