-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(k8s): allow addition of response header "X-Robots-Tag: noindex, …
…nofollow" (#2657) * feat(k8s): allow addition of response header "X-Robots-Tag: noindex, nofollow" Adding custom response headers is a convenient way to tell search engines what to index X-Robots-Tag is supported wherever robots.txt is: https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#xrobotstag By default, indexing is now _off_, unless .Values.noindex=false is set. For relevant traefik docs, see https://doc.traefik.io/traefik/middlewares/http/headers/#adding-and-removing-headers This PR allows pathoplexus/pathoplexus#48 to easily set noindex on all previews. We probably _never_ want to index authentication pages, but this can be left for another PR. * By default, don't index * fix inconsistency typo * Rename to `robotsNoIndexHeader`, make false by default
- Loading branch information
1 parent
d0cccc9
commit 61fb675
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters