summaryrefslogtreecommitdiff
path: root/playbooks.d/webserver-nginx/share/nginx.conf
blob: 834f22084e1e8cf1446da012e56409e8e974f141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
user www;
worker_processes auto;
pid /run/nginx.pid;

events {
	worker_connections 768;
}

http {
	include ${etc}/nginx/mime.types;

	access_log /var/log/nginx/access.log;
	error_log /var/log/nginx/error.log;

	default_type application/octet-stream;
	gzip on;
	sendfile on;
	tcp_nopush on;
	types_hash_max_size 2048;

	include ${etc}/nginx/sites-enabled.d/http/*;
	include ${etc}/nginx/sites-enabled.d/https/*;
}