Skip to content

Commit 3cf0d51

Browse files
committedJan 30, 2024
adds robots.txt notice
1 parent 9d72c1d commit 3cf0d51

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed
 

‎content/docs/reference/routes/public-access.mdx

+17-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,24 @@ import TabItem from '@theme/TabItem';
1616

1717
## Summary
1818

19-
**Use with caution:** **Public Access** allows all requests for a given route, bypassing authentication and authorization. Suitable for publicly exposed web services.
19+
:::caution
2020

21-
If this setting is enabled, no whitelists (for example, Allowed Users) should be provided in this route.
21+
Because the **Public Access** setting bypasses authentication and authorization checks, you should only enable it for publicly exposed web services.
22+
23+
:::
24+
25+
**Public Access** allows all requests to a given route and bypasses authentication and authorization. If you enable this setting, no whitelists should be provided for the route (for example, **Allowed Users**).
26+
27+
### Robots.txt behavior
28+
29+
By default, Pomerium serves a custom **robots.txt** file that instructs user-agents *not* to crawl a given route:
30+
31+
```txt
32+
User-agent: *
33+
Disallow: /
34+
```
35+
36+
For routes with `allow_public_unauthenticated_access` enabled, Pomerium does not overwrite the contents of the **robots.txt** file.
2237

2338
## How to configure
2439

0 commit comments

Comments
 (0)