From 2e1dca8f5238155cbc52d37316fe858c4f61cf34 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 12 Sep 2012 08:43:15 +0200 Subject: [PATCH] MEDIUM: http: add "redirect scheme" to ease HTTP to HTTPS redirection For instance : redirect scheme https if !{ is_ssl } --- doc/configuration.txt | 35 ++++++++++++++------ include/types/proto_http.h | 1 + src/cfgparse.c | 14 +++++++- src/proto_http.c | 65 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 104 insertions(+), 11 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index b7aa6907f3..7be333505f 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -4393,8 +4393,9 @@ rate-limit sessions See also : the "backlog" keyword and the "fe_sess_rate" ACL criterion. -redirect location [code ]