LoginSignup
2
1

More than 5 years have passed since last update.

cloudfrontでBASIC認証

Posted at

備忘録の意味でも投稿して置きます。

前提

  • カスタムオリジンにEC2(Webサーバにはnginxを利用)設定済
  • nginxにて、BASIC認証の設定済

手順

cloudfront コンソール画面より
behaviorにて、
スクリーンショット 2017-07-16 10.29.46.png

下記の通り設定をする

forward Headers: Whitelist
Whitelist Headers: Authrization

以上。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1