RE: Trying to config for proxying to site down page

2022-05-14 Thread Reinis Rozitis
error_page within error_page. rr From: Daniel Earle Sent: piektdiena, 2022. gada 13. maijs 17:23 To: nginx@nginx.org Subject: Trying to config for proxying to site down page I'm trying to get nginx to forward to my S3 bucket when my web app k8 pod is down. So I was hoping the below c

Trying to config for proxying to site down page

2022-05-13 Thread Daniel Earle
I'm trying to get nginx to forward to my S3 bucket when my web app k8 pod is down. So I was hoping the below config would, in the case of 50x error or no response, forward request to bucket, then if the document doesn't exist (very likely for first 50x request) - it would then return sitedown.html