You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Recently, I changed to use caddy2. But the configuration is not working as you mentioned. So I searched from caddy2 official websites and ask from ChatGPT, I finally got the right one. You need to remove the v1 path.
Also, I will give a named match example blow. You can think api is equal v1 in your example. Then you can put url https://yourdomain.example.com/api in OpanAi endpoint. The import things is to delete path in reverse proxy. You might have a try to use handle_path to do the same things.
Hi,
Recently, I changed to use caddy2. But the configuration is not working as you mentioned. So I searched from caddy2 official websites and ask from ChatGPT, I finally got the right one. You need to remove the v1 path.
Also, I will give a named match example blow. You can think
api
is equalv1
in your example. Then you can put urlhttps://yourdomain.example.com/api
in OpanAi endpoint. The import things is to delete path in reverse proxy. You might have a try to use handle_path to do the same things.The text was updated successfully, but these errors were encountered: