Monday, September 21, 2020

Apache 配置 HSTS

1. vi /etc/httpd/conf/httpd.conf

2. Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"

3.  systemctl restart httpd

IIS 配置 HSTS

Sites -> Site Name -> HTTP Response Header

 

Name: Strict-Transport-Security Value: max-age=31536000; includeSubDomains; preload

 

Host name: blank

Android Studio emulator 无法启动解决方法之一

  参考: https://stackoverflow.com/questions/60382098/emulator-fails-to-launch#answer-61778538