From 3f8ec11f95ec7ee35a3dd0a4e43b192a585aa49f Mon Sep 17 00:00:00 2001 From: House of Vanity Date: Fri, 5 Jun 2020 23:21:01 +0300 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index c802a75..171ce00 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,24 @@ $ ./target/release/furumi --config furumi.yml ``` +## NGINX config +Example of nginx config: +```nginx +server { + listen 80; + listen [::]:80; + server_name music; + + root /storage/music; + + location / { + autoindex on; + autoindex_format json; + try_files $uri $uri/ =404; + } +} +``` + ## Dependencies FUSE must be installed to build and run furumi. (i.e. kernel driver and libraries. Some platforms may also require userland utils like `fusermount`). A default installation of FUSE is usually sufficient.