# Nginx errors

**URL:** <https://www.ruby-forum.com/t/nginx-errors/128881>\
**Category:** Rails\
**Created:** [February 12, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/nginx-errors/128881 "2008-02-12T12:03:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@phil](https://www.ruby-forum.com/u/phil)\
**Post date:** [February 12, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/nginx-errors/128881/1 "2008-02-12T12:03:39Z")

</div>

We are using nginx in front of out mongrel clusters and finding that  
the logs are growing out of control. For every requrest we get 4  
errors! Basically, for each rails request it is first going off to see  
if an index.html exists, then if a static html exists, then a file  
without the html… it is crazy!  
Anyone have any suggestions about how to cut this down?

2008/01/21 12:10:22 [crit] 5674#0: \*56088 stat() “/home/abp/ruby/  
betrails/current/public/en-GB/coupon/get\_coupon\_update” failed (13:  
Permission denied), client: \*\*\*\*\*\*\*, server: \*\*\*\*\*\*\*, request: “POST /  
en-GB/coupon/get\_coupon\_update?  
coupon=23307\_0\_13&eid=23307&last\_update=1200933602&mid=13&pid=0 HTTP/  
1.0”, host: “[new.offsidebet.com](http://new.offsidebet.com)”, referrer: \*\*\*\*\*\*\*

2008/01/21 12:10:22 [crit] 5674#0: \*56088 stat() “/home/abp/ruby/  
betrails/current/public/en-GB/coupon/get\_coupon\_update/index.html”  
failed (13: Permission denied), client: \*\*\*\*\*\*\*, server: \*\*\*\*\*\*\*,  
request: “POST /en-GB/coupon/get\_coupon\_update?  
coupon=23307\_0\_13&eid=23307&last\_update=1200933602&mid=13&pid=0 HTTP/  
1.0”, host: “[new.offsidebet.com](http://new.offsidebet.com)”, referrer: \*\*\*\*\*\*\*

2008/01/21 12:10:22 [crit] 5674#0: \*56088 stat() “/home/abp/ruby/  
betrails/current/public/en-GB/coupon/get\_coupon\_update.html” failed  
(13: Permission denied), client: \*\*\*\*\*\*\*, server: \*\*\*\*\*\*\*, request:  
“POST /en-GB/coupon/get\_coupon\_update?  
coupon=23307\_0\_13&eid=23307&last\_update=1200933602&mid=13&pid=0 HTTP/  
1.0”, host: “[new.offsidebet.com](http://new.offsidebet.com)”, referrer: \*\*\*\*\*\*\*

2008/01/21 12:10:22 [crit] 5674#0: \*56088 stat() “/home/abp/ruby/  
betrails/current/public/en-GB/coupon/get\_coupon\_update” failed (13:  
Permission denied), client: \*\*\*\*\*\*\*, server: \*\*\*\*\*\*\*, request: “POST /  
en-GB/coupon/get\_coupon\_update?  
coupon=23307\_0\_13&eid=23307&last\_update=1200933602&mid=13&pid=0 HTTP/  
1.0”, host: “[new.offsidebet.com](http://new.offsidebet.com)”, referrer: \*\*\*\*\*\*\*
