r/BookStack • u/callme-howyouwant • Mar 03 '25
Hardening a Public BookStack Instance
Hey everyone,
I’ve been using BookStack locally for a while and absolutely love it. Now, I want to host a public instance and have set up a DigitalOcean droplet with Ubuntu 24.04.
The installation via the script went smoothly, including HTTPS redirection. However, I’m a bit concerned about security. So far, I’ve only enabled UFW and changed the BookStack admin password.
Beyond the standard security recommendations from the BookStack website, how have you hardened your public instance? I plan to install Fail2Ban, but I’m also curious about your Apache configuration for production, changing the default database password and migrating safely, and any BookStack-specific security considerations beyond general Ubuntu hardening guides.
Additionally, I’m not sure how much traffic to expect yet, so I’m a bit worried about potential extra costs. Have you encountered unexpected usage spikes or bandwidth issues when running a public instance?
Any advice would be greatly appreciated!
View all comments
Show parent comment
1
u/callme-howyouwant Mar 03 '25
I also took a quick look at Cloudflare, but I got the impression that with the free plan, I can achieve the same results as with a proper Apache server configuration, making it somewhat redundant. From what I’ve heard, redundant measures are generally discouraged, like using both the DigitalOcean firewall and UFW at the same time. But I’ll take a closer look at it again.
Do you use a BookStack instance with Cloudflare in front of it, or another web application on an Ubuntu/Apache server?
Thanks in advance for your input and your help! I appreciate that a lot.