linux/conf/nginx/nginx.conf

34 lines
494 B
Nginx Configuration File
Raw Permalink Normal View History

2015-12-14 03:13:59 +01:00
user www-data;
# Or, if on openSUSE:
# user wwwrun www;
2014-10-10 16:35:33 +02:00
worker_processes auto;
pid /run/nginx.pid;
2015-09-17 10:41:22 +02:00
error_log /data/log/nginx/error.log;
2014-10-10 16:35:33 +02:00
events {
worker_connections 768;
# multi_accept on;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
2016-01-25 17:45:35 +01:00
include ssl_params;
include sites-conf/default.ssl;
include mime.types;
2014-10-10 16:35:33 +02:00
default_type application/octet-stream;
2015-09-17 10:41:22 +02:00
access_log /data/log/nginx/access.log;
2014-10-10 16:35:33 +02:00
gzip on;
gzip_disable "msie6";
2016-01-25 17:45:35 +01:00
include sites-enabled/*;
2014-10-10 16:35:33 +02:00
}