Is having HSTS enabled but Force HTTPS is disabled, a security risk?
i wanna get a custom response whenever i run curl mydomain.tld, i have HSTS enabled but not the force HTTPS mode so this can be possible, is there a security risk? since HSTS in browsers already redirect to HTTPS Running curl mydomain.tld works now, it prints the custom message, of course you could also do https:/mydomain.tld and also have https force mode on and still get the custom message, but id like to keep it short to just "curl mydomain.tld" submitted by /u/Bazed_ [link] [comments]