Skip to content

Commit

Permalink
opt-out of indexing for /api
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed May 10, 2024
1 parent 14e170a commit e6a4d08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ http {
if ($same_origin_lax != 1) {
return 403;
}
include snippets/security-headers.conf;
add_header X-Robots-Tag "none" always;
limit_req zone=flarum-limit burst=32 nodelay;
fastcgi_pass backend;
}
Expand Down

0 comments on commit e6a4d08

Please sign in to comment.