r/BookStack • • Jul 13 '25

Problemts with https after setting up BookStack

I'm having problems enabling HTTPS on my new BookStack server. The HTTPS certificate has been added to my DNS and the corresponding forwarding has been activated. I then changed the URL to HTTPS in the .env.

3 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Mongele Jul 13 '25

Nice to write with the developer :)

I blanked sth. out. The URL is correct.

I have a server and the DNS from Hetzner. In the Hetzner Web Interface you activate the HTTPS certificate in a sub menu from the DNS Settings (Screenshot 1). I believe that HTTPS works because activating it shows the same behavior as in your video. Only updating the .env has no effect for me.

1

u/ssddanbrown Jul 13 '25
  • What is the output of running ls -alh bootstrap/cache from the BookStack install folder?
  • If you right-click the page in browser > view source, then find the line starting <meta name="base-url" on around line 12, does the content of that tag match the expected URL?

1

u/Mongele Jul 14 '25

Hi Dan,

the Output is:

root@Jo:/var/www/bookstack# ls -alh bootstrap/cache

total 40K

drwxrwxr-x 2 root www-data 4.0K Jul 12 05:29 .

drwxr-xr-x 3 root www-data 4.0K Jul 12 05:29 ..

-rwxrwxr-x 1 root www-data 14 Jul 12 05:29 .gitignore

-rwxrwxr-x 1 root www-data 802 Jul 12 05:29 packages.php

For the rest i sent u a PM