Commit c6bf2da2 by Max Rothman

Fix stupid errors in ecf637e2

parent aaaa47b9
...@@ -119,7 +119,7 @@ error_page {{ k }} {{ v }}; ...@@ -119,7 +119,7 @@ error_page {{ k }} {{ v }};
{% if NGINX_EDXAPP_EMBARGO_CIDRS -%} {% if NGINX_EDXAPP_EMBARGO_CIDRS -%}
#only redirect to embargo when $embargo == true and $uri != $embargo_url #only redirect to embargo when $embargo == true and $uri != $embargo_url
#this is a hack to do multiple conditionals #this is a hack to do multiple conditionals
set embargo_url "/embargo/blocked-message/courseware/embargo/" set $embargo_url "/embargo/blocked-message/courseware/embargo/";
if ( $embargo ) { if ( $embargo ) {
set $do_embargo "A"; set $do_embargo "A";
} }
......
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