Unify nginx configuration

This creates a simple base configuration skeleton, that other configuration can be easily loaded into.
This commit is contained in:
Jake Howard
2023-12-16 17:47:04 +00:00
parent 943c141d59
commit 92052a3d0a
16 changed files with 160 additions and 216 deletions

View File

@ -1,28 +1,11 @@
worker_processes auto;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
server {
listen 80;
gzip off;
gzip_static off;
server {
listen 80;
root /mnt/downloads;
root /mnt/downloads;
autoindex on;
autoindex_exact_size off;
}
autoindex on;
autoindex_exact_size off;
}