LoginSignup
5
4

More than 5 years have passed since last update.

haproxyでのhttpsリダイレクト設定

Last updated at Posted at 2018-08-01

備忘録的なメモ

haproxyでhttpからhttpsへリダイレクト設定を入れるには以下設定をフロントエンド部分に記載すればよい。

frontend http-in
    bind *:80
    redirect scheme https code 301 if !{ ssl_fc }
5
4
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
5
4