anchor.diff:        }
       <% end %>
   
  +    <% if ENV["BASE_DOMAIN"] %>
  +      if ( $host = '<%= ENV["BASE_DOMAIN"] %>' ) {
  +        return 301 $http_x_forwarded_proto://www.<%= ENV["BASE_DOMAIN"] %>$request_uri;
  +      }
  +    <% end %>
  +
  +    if ( $host = 'www.campuskudos.com' ) {
  +      return 301 https://www.peoplegrove.com/for-education?redirect=true;
  +    }
  +
       <% if ENV["BASIC_AUTH_USER"] && ENV["BASIC_AUTH_PASSWORD"] %>
         auth_basic "Restricted";
         auth_basic_user_file <%= "#{ENV["HOME"]}/config/htpasswd" %>;
  
positive.code:       <% if ENV["NGINX_DEBUG"] %>add_header X-SPA-Speed on;<% end %>
      }
  
      location ~* \.(eot|oft|svg|ttf|woff)$ {
        add_header Access-Control-Allow-Origin *;
        expires max;
        log_not_found off;
        access_log off;
  
negative.code:       }
      <% end %>
  
      # for robots.txt
      location = /robots.txt {
        set $a "robots-dev.txt";
        if ( $host = "www.peoplegrove.com" ) {
          set $a "robots.txt";
        }
        try_files /$a =404;
      }
  
      location ~* \index.html$ {
        expires off;
        <% if ENV["NGINX_DEBUG"] %>add_header X-SPA-Html on;<% end %>
      }
  
      location ~* \.(ogg|ogv|svgz|mp4|css|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|html|txt|htm)$ {
        expires max;
        log_not_found off;
        access_log off;
  