Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrustProxiesミドルウェアを設定 #53

Open
ebinase opened this issue Apr 28, 2022 · 2 comments
Open

TrustProxiesミドルウェアを設定 #53

ebinase opened this issue Apr 28, 2022 · 2 comments
Assignees

Comments

@ebinase
Copy link
Owner

ebinase commented Apr 28, 2022

No description provided.

@ebinase ebinase self-assigned this Apr 28, 2022
@ebinase ebinase changed the title TrustProxyミドルウェアを設定 TrustProxiesミドルウェアを設定 Apr 28, 2022
@ebinase
Copy link
Owner Author

ebinase commented Apr 28, 2022

ロードバランサーからポート80でサーバーに接続する場合にURLがSSL化されない問題の解消&ALB経由のヘッダを持っていないリクエストを弾くようにする

Laravel公式
(AWS ELBへの対応方法も書いてある)
https://readouble.com/laravel/8.x/ja/requests.html#:~:text=%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82-,%E4%BF%A1%E9%A0%BC%E3%81%A7%E3%81%8D%E3%82%8B%E3%83%97%E3%83%AD%E3%82%AD%E3%82%B7%E3%81%AE%E8%A8%AD%E5%AE%9A,-TLS/SSL%E8%A8%BC%E6%98%8E%E6%9B%B8

Ligの解説記事
https://liginc.co.jp/490895

@ebinase
Copy link
Owner Author

ebinase commented Apr 28, 2022

関連タスク
#52

スペシャルサンクス(情報提供)
@shira79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant