feat(xo-server): add robots.txt

Fixes zammad#21489
This commit is contained in:
Julien Fontanet 2024-02-09 11:25:06 +01:00
parent 2eb49cfdf1
commit a2c36c0832
3 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,8 @@
> Users must be able to say: “Nice enhancement, I'm eager to test it”
- Disable search engine indexing via a `robots.txt`
### Bug fixes
> Users must be able to say: “I had this issue, happy to know it's fixed”
@ -27,4 +29,6 @@
<!--packages-start-->
- xo-server patch
<!--packages-end-->

View File

@ -143,6 +143,7 @@ port = 80
requestTimeout = 0
[http.mounts]
'/robots.txt' = './robots.txt'
'/' = '../xo-web/dist/'
'/v6' = '../../@xen-orchestra/web/dist/'

View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /