1
0

$dwelling_root changed to $http_root. Added robots.txt location.

This commit is contained in:
Alexander Andreev 2022-05-24 18:41:32 +04:00
parent 89bc554fc0
commit 35c8a3e469
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -30,7 +30,13 @@ server {
location =/filelist { 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; default_type text/html;
} }