diff --git a/nginx/kitspace.template b/nginx/kitspace.template index 0453c70d4e..1b1a19402b 100644 --- a/nginx/kitspace.template +++ b/nginx/kitspace.template @@ -4,7 +4,7 @@ server { server_name @KITSPACE_DOMAIN; - location /robots.txt { + location = /robots.txt { add_header Content-Type text/plain; return 200 "@KITSPACE_ROBOTS_TXT"; } @@ -35,7 +35,7 @@ server { server_name gitea.@KITSPACE_DOMAIN; - location /robots.txt { + location = /robots.txt { add_header Content-Type text/plain; return 200 "@KITSPACE_ROBOTS_TXT"; } @@ -73,7 +73,7 @@ server { server_name meilisearch.@KITSPACE_DOMAIN; - location /robots.txt { + location = /robots.txt { add_header Content-Type text/plain; return 200 "@KITSPACE_ROBOTS_TXT"; }