vps1: fix robots.txt location

This commit is contained in:
Lgmrszd 2024-05-19 02:25:25 +03:00
parent a252925a76
commit 2de5791a30
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -100,7 +100,7 @@ in
onlySSL = true; onlySSL = true;
useACMEHost = "${rootDomain}"; useACMEHost = "${rootDomain}";
root = "/var/www/root"; root = "/var/www/root";
locations."/robots.txt" = { locations."=/robots.txt" = {
alias = robots_disallow_all; alias = robots_disallow_all;
extraConfig = '' extraConfig = ''
add_header Content-Type text/plain; add_header Content-Type text/plain;