linux/conf/nginx/nginx.conf

34 lines
494 B
Nginx Configuration File

user www-data;
# Or, if on openSUSE:
# user wwwrun www;
worker_processes auto;
pid /run/nginx.pid;
error_log /data/log/nginx/error.log;
events {
worker_connections 768;
# multi_accept on;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
include ssl_params;
include sites-conf/default.ssl;
include mime.types;
default_type application/octet-stream;
access_log /data/log/nginx/access.log;
gzip on;
gzip_disable "msie6";
include sites-enabled/*;
}