LoginSignup
0
0

More than 5 years have passed since last update.

CloudFront + Rails5.1 + SSLでsessionが引き継がれない

Last updated at Posted at 2017-11-17

自分のための備忘録

CloudFront + Rails5.1 + SSL 構成でsessionの値が引き継がれない問題が発生した。

解決方法としてはapacheのhttpd.confに下記の設定を記述すればよい。

SetEnvIf CloudFront-Forwarded-Proto "https" HTTPS
RequestHeader set X-Forwarded-Proto "https" env=HTTPS

0
0
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
0
0