Replies: 1 comment
-
|
I don't know if I fully understood what you're trying to achieve, but couldn't you do something like this instead? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey 👋🏻
I am developing an application where each request to
/needs to be validated against a PHP backend before serving the Node.js PWA. My current approach is to implement areverse_proxydirective that communicates with the PHP backend, returning a200status code on success or redirecting to a different URL in case of failure.With this implementation, Caddy would "call itself" for each request to
/. Isn't there a more efficient way to handle this?I considered using something like
reverse_proxy / php_server, but it doesn't seem to work.Beta Was this translation helpful? Give feedback.
All reactions