Commit be111597 by arbabnazar

using the elif statement

parent 36661c3e
......@@ -67,8 +67,8 @@ server {
{
set $do_redirect_to_https "true";
}
{{ '{%' }} endif {{ '%}' }}
{{ '{%' }} if NGINX_HTTPS_REDIRECT_STRATEGY == "forward_for_proto" {{ '%}' }}
{{ '{%' }} elif NGINX_HTTPS_REDIRECT_STRATEGY == "forward_for_proto" {{ '%}' }}
# Forward to HTTPS if we're an HTTP request... and the server is behind ELB
if ($http_x_forwarded_proto = "http")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment