Skip to content

Commit

Permalink
Fixed #231: robots.txt for dev library
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Aug 12, 2024
1 parent 3c43af3 commit 48957ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zim/dev-library/dev-library.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ metadata:
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
nginx.ingress.kubernetes.io/server-snippet: |
location /robots.txt {
add_header Content-Type "text/plain";
return 200 "User-agent: *\nDisallow: /";
}
spec:
ingressClassName: nginx
tls:
Expand Down

0 comments on commit 48957ee

Please sign in to comment.