Have you already installed BookStack using docker on your Synology NAS following my step by step guide? Do you want to log in via HTTPS using your custom domain name even when you are away from home? Itâs simple and free. You donât need to buy domains, you donât need to look for information elsewhere because here you will find the easy way to do it. Say youâre at a friendâs house and want to see your BookStack stats. You can access BookStack from outside your home, just like you would any website.
STEP 1
Please Support My work by Making a Donation.
STEP 2
Follow my step by step guide on how to activate your synology.me DDNS on DSM 7
Follow my step by step guide on how to activate your synology.me DDNS on DSM 6.2.4
Note: If you already own a synology.me DDNS, skip this STEP.
STEP 3
Go to Control Panel / Application Portal / Reverse Proxy. Click on Create. Follow the instructions in the image below.
STEP 4
If you have correctly followed STEP 5 in my article on How to Install BookStack on Your Synology NAS, you should see this value – APP_URL=http://yourNASIP:6875
Then go to Portainer and edit the bookstack stack. Click on Editor and change the value from:
- APP_URL=http://yourNASIP:6875
to
APP_URL=https://yourname.synology.me:9096
After the value is correctly modified, click Update the stack. Follow the instructions in the image below.
STEP 5
The window below will open. Follow the instructions in the image below.
On General area set the Reverse Proxy Description and type in Bookstack. After that, add the following instructions:
Source:
Protocol:Â HTTPS
Hostname:Â yourname.synology.me
Port:Â 9096
Check Enable HTTP/2
Destination:
Protocol:Â HTTP
Hostname:Â localhost
Port:Â 6875
STEP 6
Go to Control Panel / Security / Certificate and check if your link yourname.synologyme:9096 is visible.
STEP 7
Log into your router and go to the Port Forwarding area. Select your NAS Local IP Address and port forward port 9096 both TCP/UDP. Remember that every router has its own interface design. At the moment I am using an RT2600ac router. Follow the instructions in the image below:
STEP 8
Go back to STEP 1 or you will deal with karma đ
STEP 9
Open your browser and type in https://yourname.synology.me:9096 and you will see the HTTPS / SSL certificate working correctly. From now on you can access your BookStack application over HTTPS from anywhere.
Note: You can use the same operation described above for all docker packages you have previously installed on your Synology NAS to access them via HTTPS/SSL.
Note: At STEP 4 and STEP 5 instead of port 9096 you can use the port of your choice, but remember to port forward it (correctly) in your router following STEP 7.
This post was updated on Wednesday / July 14th, 2021 at 11:08 AM