Skip to content

Commit 951382a

Browse files
vidarlmnocon
andauthored
Apply suggestions from code review
Co-authored-by: Marek Nocoń <[email protected]>
1 parent 107c43a commit 951382a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,24 +144,22 @@ ibexa:
144144

145145
#### Varnish and Basic Auth
146146

147-
If purge requests to Varnish is protected by Basic Auth, the Basic Auth credentials can be specified with the
148-
`purge_servers` setting using the format:
147+
If the Varnish server is protected by Basic Auth, specify the Basic Auth credentials within the `purge_servers` setting using the format:
149148

150149
``` yaml
151150
http_cache:
152151
purge_servers: [http://myuser:[email protected]:8081]
153152
```
154153

155-
Varnish is enabled by default when using [[= product_name_cloud =]]. There is no need to specify `purge_servers` as this is detected
156-
automatically. When enabling Basic Auth on [[= product_name_cloud =]] when using Varnish, you do however need to specify the credentials
157-
using the following environment variables in order for purging to work:
154+
Varnish is enabled by default when using [[= product_name_cloud =]] and the `purge_servers` setting is set automatically.
155+
To enable Basic Auth on [[= product_name_cloud =]] when using Varnish, specify the credentials using the following environment variables to make sure that Varnish is reachable:
158156

159157
```
160158
env:HTTPCACHE_USERNAME=myuser
161159
env:HTTPCACHE_PASSWORD=mypasswd
162160
```
163161

164-
If you want to use Basic Auth with Fastly on [[= product_name_cloud =]], please see [Enable basic-auth on Fastly](...)
162+
If you want to use Basic Auth with Fastly on [[= product_name_cloud =]], please see [Enable basic-auth on Fastly](fastly.md#enable-basic-auth-on-fastly).
165163

166164
!!! note "Invalidating Varnish cache using tokens"
167165

0 commit comments

Comments
 (0)