Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Oct 26, 2020
2 parents 31c6c46 + 51b7360 commit 1b32796
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/docker/varnish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ services:
app:
environment:
- APP_HTTP_CACHE=0
- TRUSTED_PROXIES=varnish
# Never do this in production if the app container is accesible for the public as well
# See https://ezplatform.com/security-advisories/ezsa-2020-002-unauthorised-cache-purge-with-misconfigured-fastly for more details how it could be abused
- TRUSTED_PROXIES=REMOTE_ADDR
- HTTPCACHE_PURGE_SERVER=http://varnish
- HTTPCACHE_PURGE_TYPE=varnish

Expand Down

0 comments on commit 1b32796

Please sign in to comment.