danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
258 stars 70 forks source link

Got the HSTS message with self signed cert #193

Closed sfatula closed 1 year ago

sfatula commented 2 years ago

Tried to follow your instructions to remove the comment for Strict-Transport-Security in the Caddyfile, but, for the self signed Caddyfile, there is no such line! So, I copied the 4 lines from a different Caddyfile and the warning now goes away.

Shouldn't those lines be in the self signed Caddyfile?

danb35 commented 2 years ago

Why would you want HSTS enabled with a self-signed certificate?