Skip to content

Commit 64509e4

Browse files
committed
fix(web): Configure domains for Anubis
Anubis intelligently picks the host for which it's running and proxies traffic according to it. This works well, if you're pointing one host at the service. We're pointing 3, as the hosts use Fastly for caching/DDoS protection. Updating the environment variable to include the domains should allow Anubis to proxy all requests.
1 parent 0cde609 commit 64509e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/web/base/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ spec:
4343
value: "true"
4444
- name: "OG_EXPIRY_TIME"
4545
value: "24h"
46+
- name: "REDIRECT_DOMAINS"
47+
value: "web.do.metacpan.org,metacpan.org,www.metacpan.org"
4648
resources:
4749
limits:
4850
cpu: 750m

0 commit comments

Comments
 (0)