The following error occurs when any "if statement" evaluates to true inside of a context with a memcached_pass:<br>2007/12/22 05:47:42 [alert] 1333#0: worker process 1334 exited on signal 10<br><br>Here are some example files to demonstrate the error (remember to run memcached):
<br><br clear="all">
<div id="1f7j" class="ArwC7c ckChnd">------------------------------------------------------<br>nginx.conf<br>------------------------------------------------------<br>worker_processes 1;<br>events {<br> worker_connections 256;
<br>}<br><br>http {<br> server {<br> listen 8084;<br> default_type text/html; <br><br> location / { <br> # If you comment out this if statement, or change != to =, the error will not occur
<br> if ($request != "") {<br> # The following error occurs when any "if statement"<br> # evaluates to true inside of a context with a memcached_pass:<br> # 2007/12/22 05:47:42 [alert] 1333#0: worker process 1334 exited on signal 10
<br> }<br> <br> set $memcached_key "NOT_IN_CACHE"; <br> memcached_pass localhost:11211; <br> proxy_intercept_errors on; <br> error_page 404 502 = /cache_miss.html;
<br> }<br> <br> location /cache_miss.html {<br> root /Users/larry/Sites/ngingx_request_uri;<br> }<br> }<br>}<br><br><br>
<div id="1f7j" class="ArwC7c ckChnd">------------------------------------------------------<br>cache_miss.html<br>
------------------------------------------------------<br><strong><p>Cache miss without errors</p></strong><br></div><br></div><br>-- <br>Respectfully,<br>Larry Diehl<br><a href="http://www.larrytheliquid.com">
www.larrytheliquid.com</a>