Synology HSTS or How to redirect HTTP to HTTPS traffic automaticaly

User Avatar
👤 admin
🔴 Admin
✍️ The most important thing in the world is to not be alone.
⏳ Last active: 15 Apr 2025 at 16:01
📅 Created: 03 Mar 2025 at 14:40
👀 Viewed: 232 times
✉️ Send Email

In Synology when you create a website in web portal, lets say mywebsite.eu you can access the site with http or https depending on your settings like so:

Image

But if you want http traffic for the site to go directly to https you can do the following

Go to Web Station -> Web Service Portal -> click on the host mywebsite.eu and go to Edit -> Find HTTPS Settings and Enable HSTS

Image

Now wen you open http://mywebsite.eu it will redirect you directly to https://mywebsite.eu

If you want to comment: Login or Register