Skip to content

Instantly share code, notes, and snippets.

@yicr
Last active February 8, 2019 02:41
Show Gist options
  • Save yicr/e318aaa650c46fb84562e86c2ce85b7d to your computer and use it in GitHub Desktop.
Save yicr/e318aaa650c46fb84562e86c2ce85b7d to your computer and use it in GitHub Desktop.
Mac safari http2.0 error fix by CloudFront, ALB, EC2, Apache

CloudFront ➔ ALB ➔ EC2(Apache) 構成で Safariアクセスだとエラーになったときに対処方法。

httpd.conf の以下モジュール設定をコメントアウト!

#<IfModule mod_http2.c>
#    Protocols h2 h2c http/1.1
#</IfModule>

ALB ➔ EC2 間がhttp/1.1 通信であるため、h2,h2c ヘッダが送信されてしまうためだと思う。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment