Hi I am having the “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. " problem. Instructions to fix it say to find the Apache Virtual Host File.
I am running Nextcloud on Unraid. I cannot figure out where to find this file to fix the problem.
Sorry if this is a very basic question!
I found this on reddit, had you try it?
you want to edit /nextcloud/nginx/site-confs/default in your appdata folder. In the second
server section you’ll see several
add_header directives. If there’s one along the lines of
add_header Strict-Transport-Security change it so that it reads
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;