Score:0

Use ProxyPass only when upstream available in Apache

be flag

hope this question is not too silly.

In Apache I'm using ProxyPass:

<Location />
  ProxyPass http://localhost:3000/
</Location>

However I cannot be sure the http://localhost:3000/ will be available. If not apache will crash. How can I make it still working even though upstream is not available? BTW, I'm using Apache as a container.

in flag
Apache does not crash when the backend is unavailable. It will show a proper 5xx response. You can customize the error page for that response.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.