I run several subdomains with SSL, but I need one specific subdomain to be available in plain HTTP.
Problem: I also set webgui to be accessible through HTTPS, and /etc/nginx/openmediavault-webgui.d/security.conf contains
add_header Strict-Transport-Security "max-age=15768000; includeSubdomains";
That leads to quite stupid behaviour when after accessing webgui my HTTP share gets locked by HSTS.
Question: is there a better way to change security.conf than just edit it directly? And when will it be overwritten back, only on OMV update or after every configuration edit?
Ok, yes, OMV overwrites configuration every time I edit something in webgui. Can I do anything about this?