https://java.md/nginx-http-strict-transport-security/
HSTS в Nginx или получаем оценку А+ от SSL Labs