I have installed nextcloud 25 in truenas scale and use traefik to ingress https services, it all works well.
Today, i tried to use nginx proxy manager to ingress the https services of nextcloud, and turn on the "HSTS" option in accident.
Then i found the nginx proxy manager didn't work well, I cannot use my domain name to access the nextcloud, so I uninstall the nginx proxy manager in truenas scale.
After that, I install the nginxwebui to ingress the https services of nextcloud, my domain name can access to the nextcloud by https, but something weird.
In nextcloud services, the system occur a warning: The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.
Furthermore, I can't upload any files to the nextcloud, the nextcloud will displays an error: An unknown error has occurred
I am very confuse that, the HSTS option is no longer turned on anywhere, but nextcloud services are still affected. And when I used the same domain name to ingress other services, neither the browser nor the service would prompt any information about HSTS.
What's even weirder is that when I turn back to used traefik to ingress the nextcloud, everything was fine. Nextcloud didn't alert the warning of HSTS and I could upload files as usual.
I also reinstall another new nextcloud service and use the nginxwebui to ingress https, it still occur the HSTS warning. What happend? The two nextcloud services are not associated in any way, but still occur the HSTS warning.
Does anyone know how to solve this problem? Thanks!
Today, i tried to use nginx proxy manager to ingress the https services of nextcloud, and turn on the "HSTS" option in accident.
Then i found the nginx proxy manager didn't work well, I cannot use my domain name to access the nextcloud, so I uninstall the nginx proxy manager in truenas scale.
After that, I install the nginxwebui to ingress the https services of nextcloud, my domain name can access to the nextcloud by https, but something weird.
In nextcloud services, the system occur a warning: The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.
Furthermore, I can't upload any files to the nextcloud, the nextcloud will displays an error: An unknown error has occurred
I am very confuse that, the HSTS option is no longer turned on anywhere, but nextcloud services are still affected. And when I used the same domain name to ingress other services, neither the browser nor the service would prompt any information about HSTS.
What's even weirder is that when I turn back to used traefik to ingress the nextcloud, everything was fine. Nextcloud didn't alert the warning of HSTS and I could upload files as usual.
I also reinstall another new nextcloud service and use the nginxwebui to ingress https, it still occur the HSTS warning. What happend? The two nextcloud services are not associated in any way, but still occur the HSTS warning.
Does anyone know how to solve this problem? Thanks!