Skip to content

Commit

Permalink
add About the robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
seadfeng committed Aug 5, 2024
1 parent 12fbf50 commit c680b8b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,24 @@ Support multiple domain names, the following only set up a as an example
Ensure the certificate is active.

![Domain config ](images/done.png)


## About the robots.txt

**Warning**: Allowing web crawlers to index this content may affect the proxied site. If it is not your site or if you are unsure of the potential impact, please stop here!

### Default Content:

```txt
User-agent: *
Disallow: /
```

### Change your robots.txt

```js
// index.js
const robots = `User-agent: *
Disallow: /
`;
```

0 comments on commit c680b8b

Please sign in to comment.