infrastructure/ansible/roles/qbittorrent/files/nginx.conf
Jake Howard a278443850
Use auto on nginx configs
Let nginx work it out, and default to 1 per core
2021-09-04 22:41:30 +01:00

28 lines
390 B
Nginx Configuration File

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