I am attempting to have an express.js app (currently being served to i.toxicaven.dev via port 40115) run through toxicaven.dev/images without modifying what is being served to toxicaven.dev by a different express app.
4. Error messages and/or full log output:
No errors are provided, using any of the tried methods, aside from Internal Server Error when attempting to access the toxicaven.dev/images endpoint.
allows the Hastebin to load when using haste.toxicaven.dev, but causes serious serving issues when using toxicaven.dev/haste, although it does load the page. No abnormalities can be found with the normal toxicaven.dev page. I will leave the caddyfile configuration enabled for now, as I am unsure of what could be causing this. No errors or anything worth noting in the journalctl for caddy or the hastebin server.
When you use handle, the request path will be preserved, i.e. /haste will still be prefixed on the path sent upstream. Is that what you’re expecting to happen? Or are you expecting /haste to be stripped off first?
If you need to strip the path prefix, you can use handle_path instead of handle.