From 0644e41a8fb323054cbbc2a6c46f634ce179ea7d Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 14 Jan 2024 06:19:04 +0100 Subject: [PATCH] chore(nginx): update robots.txt --- deploy/base/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/base/ingress.yaml b/deploy/base/ingress.yaml index d360e52..7d76373 100644 --- a/deploy/base/ingress.yaml +++ b/deploy/base/ingress.yaml @@ -3,11 +3,11 @@ kind: Ingress metadata: name: ingress annotations: - nginx.ingress.kubernetes.io/proxy-body-size: 30m + nginx.ingress.kubernetes.io/proxy-body-size: 50m nginx.ingress.kubernetes.io/server-snippet: | location = /robots.txt { add_header Content-Type text/plain; - return 200 "User-agent: Amazonbot\nDisallow: /\n\nUser-agent: BLEXBot\nDisallow: /\n\nUser-agent: SemrushBot\nDisallow: /\n\nUser-agent: AhrefsBot\nDisallow: /\n\nUser-agent: DotBot\nDisallow: /\n\nUser-agent: BingBot\nCrawl-delay: 30\n"; + return 200 "User-agent: Amazonbot\nDisallow: /\n\nUser-agent: BLEXBot\nDisallow: /\n\nUser-agent: SemrushBot\nDisallow: /\n\nUser-agent: AhrefsBot\nDisallow: /\n\nUser-agent: DotBot\nDisallow: /\n\nUser-agent: MJ12bot\nDisallow: /\n\nUser-agent: BingBot\nCrawl-delay: 30\n"; } spec: ingressClassName: nginx