Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

DSM 6.2 Internal Site Requiring HSTS

  • Thread starter Thread starter cwskopec
  • Start date Start date
  • Replies Replies 0
  • Views Views 2,894

As an Amazon Associate, we may earn commissions from qualifying purchases. Learn more...

1
0
NAS
DS418play
Operating system
  1. macOS
How do I turn off HSTS for an internal only site served through Web Station?

I've been trying to set up a test website just for my own experimentation on my local network (not available outside my home) and I'm struggling with HSTS errors. I've searched and tried every suggestion I could find and yet I'm still getting these errors when trying to visit the site.

In Web Station > Virtual Hosts, if I use a Port-Based host I'm able to access the site just fine. However if I use Name-Based to specify an example domain (example: 'example.dev') I'm unable to access the site due to HSTS errors. I do not have the `HSTS` option checked in Virtual Hosts (screenshot for proof).

On my local machine, I've added example.dev to my hosts file and pointed it at the NAS' IP address. I've also imported the Synology SSL Cert and ensured it is trusted for example.dev. Based on suggestions I've seen, I SSH'd to the unit, gotten root access and editted the nginx config files to try and remove the HSTS requirements. I've also ensured that I restarted in between making changes to the config and trying again.

So, what gives? Is there some secret setting or hidden config file somewhere that I'm missing?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Popular tags from this forum

Similar threads

Hi, I am trying to figure out how to issue a certificate for my self-hosted Wordpress site but am unable...
Replies
0
Views
408
Thank you very much for your response, but I uninstalled WebStation/Apache 2.4 then reinstalled and...
Replies
2
Views
1,561

Thread Tags

Tags Tags
None

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending content in this forum

Back
Top