Closed rabits closed 1 month ago
Did you read the documentation at all?
Ingress will not function due to the way the application stores image files.
@illuzn , documentation is for readers - I'm a writer and don't stop when letters are saying "something is impossible". And not quite sure you've got what I wrote in the description... With mentioned changes I was able to store images without hostname in the URL by setting STORAGE_URL
variable (so instead of "https://host/path" now it uses "/path" for the images) - so the image storage is not an issue anymore. The rest of my findings you can locate in the description.
Anyway instead of spending time with altering bookstack I would recommend everyone who will look here to use Grocy - it's Equipment
page is quite capable to store the local wiki content and works with HA ingress out of the box.
Problem/Motivation
Spent quite a bit of time trying to integrate bookstack into home assistant with menu record and https nginx proxy
Expected behavior
Probably there is a way to setup it by default the way it will properly redirect even the uploaded images through home assistant proxy and will be more stable and available from the remote proxy.
Actual behavior
For now there are 3 issues with this complicated setup:
Steps to reproduce
Prepare new locations for nginx addon: /share/nginx_proxy_default_wiki_page.conf
Special override for bookstack storage (images, etc...)
location /bookstack_storage { rewrite /bookstack_storage/(.*) /$1 break;
}