mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-11-22 11:17:56 +01:00
vps1: fix robots.txt location
This commit is contained in:
parent
a252925a76
commit
2de5791a30
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue