備忘録的なメモ
haproxyでhttpからhttpsへリダイレクト設定を入れるには以下設定をフロントエンド部分に記載すればよい。
frontend http-in
bind *:80
redirect scheme https code 301 if !{ ssl_fc }
Go to list of users who liked
More than 5 years have passed since last update.
備忘録的なメモ
haproxyでhttpからhttpsへリダイレクト設定を入れるには以下設定をフロントエンド部分に記載すればよい。
frontend http-in
bind *:80
redirect scheme https code 301 if !{ ssl_fc }
Register as a new user and use Qiita more conveniently
Go to list of users who liked