summarylogtreecommitdiffstats
path: root/bandwidthd-webui.conf
diff options
context:
space:
mode:
authorOleksandr Natalenko2020-04-09 16:38:22 +0200
committerOleksandr Natalenko2020-04-09 16:38:41 +0200
commit808caede498a3aa24a3c5f296a008208af4e55c3 (patch)
tree56239a63a6aa0c7f425b861ad9824ead1feb4970 /bandwidthd-webui.conf
downloadaur-808caede498a3aa24a3c5f296a008208af4e55c3.tar.gz
initial commit
Signed-off-by: Oleksandr Natalenko <oleksandr@redhat.com>
Diffstat (limited to 'bandwidthd-webui.conf')
-rw-r--r--bandwidthd-webui.conf36
1 files changed, 36 insertions, 0 deletions
diff --git a/bandwidthd-webui.conf b/bandwidthd-webui.conf
new file mode 100644
index 000000000000..4fb6ed8263ab
--- /dev/null
+++ b/bandwidthd-webui.conf
@@ -0,0 +1,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;
+ }
+ }
+}