How to implement HTTP Strict Transport Security (HSTS) on AWS Elastic Load Balancer?

前端 未结 4 1227
臣服心动
臣服心动 2021-02-20 17:04

I would like to implement HSTS to my application.

I have an ELB terminating SSL and forwarding the traffic to my application, which is an apache server used as reverse p

4条回答
  •  盖世英雄少女心
    2021-02-20 17:39

    Please note that since this is not supported for Apache < 2.4, it's best to encapsulate it in = 2.4>, like so:

        = 2.4> 
            
                
                    Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
                
            
        
    

提交回复
热议问题