2016-07-26 19:41:52 +02:00
|
|
|
user www-data;
|
2016-05-06 16:04:02 +02:00
|
|
|
worker_processes 4;
|
|
|
|
pid /run/nginx.pid;
|
2016-07-26 18:19:31 +02:00
|
|
|
daemon off;
|
2016-05-06 16:04:02 +02:00
|
|
|
|
|
|
|
events {
|
|
|
|
worker_connections 2048;
|
|
|
|
multi_accept on;
|
|
|
|
use epoll;
|
|
|
|
}
|
|
|
|
|
|
|
|
http {
|
|
|
|
server_tokens off;
|
|
|
|
sendfile on;
|
|
|
|
tcp_nopush on;
|
|
|
|
tcp_nodelay on;
|
|
|
|
keepalive_timeout 15;
|
|
|
|
types_hash_max_size 2048;
|
2016-06-28 11:18:37 +02:00
|
|
|
client_max_body_size 20M;
|
2016-05-06 16:04:02 +02:00
|
|
|
include /etc/nginx/mime.types;
|
|
|
|
default_type application/octet-stream;
|
2016-07-26 19:53:26 +02:00
|
|
|
access_log /var/log/nginx/access.log;
|
|
|
|
error_log /var/log/nginx/error.log;
|
2016-05-06 16:04:02 +02:00
|
|
|
gzip on;
|
|
|
|
gzip_disable "msie6";
|
|
|
|
include /etc/nginx/conf.d/*.conf;
|
2016-08-15 23:14:05 +02:00
|
|
|
include /etc/nginx/sites-available/*;
|
2016-05-06 16:04:02 +02:00
|
|
|
open_file_cache max=100;
|
2016-10-14 19:01:26 +02:00
|
|
|
charset UTF-8;
|
2016-05-06 16:04:02 +02:00
|
|
|
}
|