<div dir="ltr"><div></div><div class="gmail_default"><div class="gmail_default"><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif">My website’s being hit hard and I am trying to see if I can limit this at the load balancer (Nginx) level by cutting off requests that don’t have a special header.</span><br></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">I’ve seen some solutions that involve the if statement, notably</font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><a href="https://stackoverflow.com/questions/18970620/nginx-reject-request-if-header-is-not-present-or-wrong">https://stackoverflow.com/questions/18970620/nginx-reject-request-if-header-is-not-present-or-wrong</a> <br></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">Can someone help me with a solution that does NOT involve using an if statement?</font></div></div><br clear="all"><div><div class="gmail_signature">- Quintin</div></div>
</div>