shiori icon indicating copy to clipboard operation
shiori copied to clipboard

Apache reverse proxy does not work for me

Open marioscube opened this issue 4 months ago • 24 comments

Data

  • Shiori version: 1.6.2 (and 1.6.1 docker)
  • Database Engine: SQLite
  • Operating system: Debian Bookworm
  • CLI/Web interface/Web Extension: Firefox

Describe the bug / actual behavior

Started shiori with: shiori server --storage-directory /home/debian/shiori/data

I go to shiori in a browser http://localhost:8080 it works (I can login etc.)

I try to make a reverse proxy in apache2 virtualhosts

RewriteEngine on RewriteRule ^/shiori$ /shiori/ [R] ProxyPreserveHost On ProxyRequests off <Location /shiori/> Require all granted ProxyPass http://192.168.1.180:8080/ ProxyPassReverse http://192.168.1.180:8080/
</Location>

Expected behavior

In a brwoser: http://localost/shiori should give a shiori login screen

What i get

a white browser screen with "Shiori - Bookmarks Manager" in the tab

So I am forwarded to the right place, but something in the code refuses this.

What am I doing wrong? Am I missing a setting?

marioscube avatar Apr 08 '24 12:04 marioscube