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
Hello, I'm running Shiori with my Raspberry pi behind a Caddy reverse proxy. I followed the guide here to run Shiori behind Caddy as reverse proxy.
Until the last update everything was fine, but since 1.5.3 any CSS file isn't loaded correctly if you run Shiori like this shiori serve --webroot /shiori/ parameter. In Firefox I can see internal server errors (HTTP code 500) and this is also displayed on the console but no further information.
The page as result looks like this now:
And now the great part: If you run Shiori without the --webroot /shiori/ parameter, everything is fine. I also verified this on my local machine, once with the parameter and once without, same result as with the Raspberry Pi, without reverse proxy of course.
Steps to reproduce
Download Shiori (if not already in path or something)
Extract and run with to test: shiori serve --webroot /shiori/ and open up Shiori http://127.0.0.1:8080/shiori/. This is how no CSS is displayed.
To verify the working state run Shiori like this: shiori serve and open Shiori again.
If I try to open the source-sans-pro.min.css file as an example my browser says the following: open /css/source-sans-pro.min.css: invalid name. The corresponding log entry from the containers log is: time="2022-06-28T17:43:40Z" level=warning msg="GET /shiori/css/source-sans-pro.min.css" proto=HTTP/1.1 remote="172.19.0.2:43460" reqlen=0 size=48 status=500
The text was updated successfully, but these errors were encountered:
Hello, I'm running Shiori with my Raspberry pi behind a Caddy reverse proxy. I followed the guide here to run Shiori behind Caddy as reverse proxy.
Until the last update everything was fine, but since 1.5.3 any CSS file isn't loaded correctly if you run Shiori like this shiori serve --webroot /shiori/ parameter. In Firefox I can see internal server errors (HTTP code 500) and this is also displayed on the console but no further information.
The page as result looks like this now:
And now the great part: If you run Shiori without the --webroot /shiori/ parameter, everything is fine. I also verified this on my local machine, once with the parameter and once without, same result as with the Raspberry Pi, without reverse proxy of course.
Steps to reproduce
source-sans-pro.min.css
file as an example my browser says the following:open /css/source-sans-pro.min.css: invalid name
. The corresponding log entry from the containers log is:time="2022-06-28T17:43:40Z" level=warning msg="GET /shiori/css/source-sans-pro.min.css" proto=HTTP/1.1 remote="172.19.0.2:43460" reqlen=0 size=48 status=500
The text was updated successfully, but these errors were encountered: