summarylogtreecommitdiffstats
path: root/bandwidthd-webui.conf
blob: 4fb6ed8263aba90993ba61fde76fea5a95caebbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
daemon			off;
worker_processes	auto;

pid			/run/bandwidthd/bandwidthd-webui.pid;

error_log		stderr;

events {
	worker_connections	1024;
}

http {
	include			/etc/nginx/mime.types;
	default_type		application/octet-stream;

	access_log		off;

	types_hash_max_size	4096;

	sendfile		on;
	gzip			on;

	server {
		listen	667;

		root	/var/lib/bandwidthd/htdocs;

		location / {
			index		index.html;
		}

		location = /favicon.ico {
			log_not_found	off;
		}
	}
}