Skip to content

Commit e579da2

Browse files
committed
[Chore]: Redirect HTTP to HTTPS
1 parent 7f42dba commit e579da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0x10-https_ssl/100-redirect_http_to_https

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defaults
88
frontend iamitsfoss-frontend
99
bind *:80
1010
bind *:443 ssl crt /etc/haproxy/certs/iamitsfoss.tech.pem
11-
http-request redirect scheme https unless { ssl_fc }
11+
http-request redirect scheme https if !{ ssl_fc }
1212
default_backend iamitsfoss-backend
1313

1414
backend iamitsfoss-backend

0 commit comments

Comments
 (0)