From 35c8a3e469ba27b4b16aaf6d72118203df940058 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 24 May 2022 18:41:32 +0400 Subject: [PATCH] $dwelling_root changed to $http_root. Added robots.txt location. --- configs/nginx.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/nginx.conf b/configs/nginx.conf index 7ca7bfd..6828ca1 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -30,7 +30,13 @@ server { location =/filelist { - alias $dwelling_root/radio_filelist.html; + alias $http_root/shared/radio_filelist.html; + + default_type text/html; + } + + location =/robots.txt { + alias $http_root/shared/files/radio.robots.txt; default_type text/html; }