-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Attempted Debugging
- I have read the debugging page
Searched GitHub Issues
- I have searched GitHub for the issue.
Describe the Scenario
This is similar to #801 but using a subdirectory andI am seeing the same http-404 when trying to access css/js/etc...
I can verify that using caddy does work if I make my TLD be the one serving the pages. For example, in the Caddyfile if I have this:
hostname.duckdns.org{
reverse_proxy /* bookstack:80
}
And in by docker-compose.yaml for bookstack I have the APP_URL set to https://hostname.duckdns.org accessing https://hostname.duckdns.org works perfectly and I can login successfully.
But I am trying to serve bookstack from a sub-folder such as /notes and cannot get that to work. In this case I see the same large images and http header traces show http-404 errors. For example if I have the Caddyfile:
hostname.duckdns.org{
reverse_proxy /notes/* bookstack:80
}
and in the bookstack docker-compose.yaml file I have APP_URL=https://hostname.duckdns.org/notes it is not working.
I suspect that we need to do something like described in https://www.bookstackapp.com/docs/admin/subdirectory-setup/ but not sure how to interpret the apache or nginx pieces mentioned there for caddy.
Any thoughts on how to configure caddy to do this?
Exact BookStack Version
23.01.1
Log Content
No errors from bookstack log nor from caddy log
PHP Version
No response
Hosting Environment
Using Docker running the lcsr.io/linuxserver/bookstack image and caddy:latest image.