Re: Whitelisting Req/Conn Limiting

2014-06-01 Thread SupaIrish
Thanks for the reply 1) Your explanation clarified my misunderstanding, much appreciated. 2) Your suggestion would make a lot of sense. But after reading your response, I realized I wrote the check wrong in my example. I'm trying to whitelist an inbound request from a specific server, not one t

Whitelisting Req/Conn Limiting

2014-05-30 Thread SupaIrish
Hello! I'm want to limit req/connections but have certain requests skip or whitelisted from the throttling. I've found some prior threads that got me this, which I think is working. Here's just the relevant config. Is this the best/correct way to do this? And if so I don't really understand th

Re: Whitelisting Req/Conn Limiting

2014-05-30 Thread SupaIrish
Gist for easier reading https://gist.github.com/supairish/748c85552b2f7047a36a Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250510,250511#msg-250511 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx not detecting the root location from config for Rails 3.2 app

2014-03-26 Thread SupaIrish
"root" needs to point to the /public directory of your Rails app. And I don't think you need to use passenger_base_uri My nginx using passenger config looks like: server { listen 80; server_name XX; root /home/deploy/apps/wtca/current/public; pa