mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 07:38:19 +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…
Add table
Add a link
Reference in a new issue