2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

cloudfrontでBASIC認証

2
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?