Merge branch 'redirect_to_https' into 'master'
add redirection to https from http if the ssl configuration is launched, we redirect to the https pages automatically. See merge request !1
This commit is contained in:
		
						commit
						b08e9a09a0
					
				| @ -25,6 +25,7 @@ frontend http | ||||
|         bind *:80 | ||||
|         reqadd X-Forwarded-Proto:\ http | ||||
|         acl letsencrypt-acl path_beg /.well-known/acme-challenge/ | ||||
|         redirect scheme https code 301 if !{ ssl_fc } | ||||
|         use_backend letsencrypt-backend if letsencrypt-acl | ||||
|         default_backend www-backend | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user