this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Increase timeout on reverse proxy for pi, remove explicit http bc not required, and depend on landing for caddy

+14 -3
+11 -2
caddy/Caddyfile
··· 1 1 { 2 + debug 2 3 email {$PDS_ADMIN_EMAIL:404@vielle.dev} 3 4 on_demand_tls { 4 5 ask http://pi:8000/tls-check ··· 79 80 @landing path / /css 80 81 reverse_proxy @landing landing:8000 81 82 82 - reverse_proxy http://{$PI_ADDRESS:pi}:8000 83 + reverse_proxy {$PI_ADDRESS:pi}:8000 { 84 + transport http { 85 + dial_timeout 5s 86 + } 87 + } 83 88 } 84 89 85 90 *.pds.{$HOST:localhost} { ··· 96 101 # subdomains without running own dns server 97 102 rewrite /.well-known/atproto-did /.well-known/atproto-did/{http.request.host} 98 103 99 - reverse_proxy http://pi:8000 104 + reverse_proxy {$PI_ADDRESS:pi}:8000 { 105 + transport http { 106 + dial_timeout 5s 107 + } 108 + } 100 109 }
+3 -1
compose.yaml
··· 22 22 - 443:443 23 23 volumes: 24 24 - ./caddy:/etc/caddy 25 + - ./server-health.txt:/reverse_proxy_health.txt 25 26 - caddy_data:/data 26 27 - caddy_config:/config 27 28 environment: 28 29 HOST: vielle.dev 29 30 depends_on: 30 - - prs # block till prs starts 31 + - prs 32 + - landing 31 33 32 34 volumes: 33 35 caddy_data: