Skip to content

Commit 05b6213

Browse files
authored
Added robots.txt file (#9241)
1 parent 184b659 commit 05b6213

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Dockerfile.ui

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ FROM nginx:1.27.4-alpine3.21-slim
3838

3939
# Replace default.conf configuration to remove unnecessary rules
4040
COPY cvat-ui/react_nginx.conf /etc/nginx/conf.d/default.conf
41+
COPY cvat-ui/robots.txt /usr/share/nginx/html/
4142
COPY --from=cvat-ui /tmp/cvat-ui/dist /usr/share/nginx/html/
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### Added
2+
3+
- Added robots.txt file to manage crawling traffic
4+
(<https://github.com/cvat-ai/cvat/pull/9241>)

cvat-ui/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Disallow: /
3+
Allow: /auth/
4+
Allow: /api/docs/

0 commit comments

Comments
 (0)