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 that Nginx is serving. Instead of $hostname I should be using $remote_addr and the IP of the remoby SupaIrish - Nginx Mailing List - English
Gist for easier reading https://gist.github.com/supairish/748c85552b2f7047a36aby SupaIrish - Nginx Mailing List - English
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 the 1 "" part of the map block. Can someone explain that? The map docs (http://nginx.oby SupaIrish - Nginx Mailing List - English
"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 XXXXXX; root /home/deploy/apps/wtca/current/public; passenger_enabled on;by SupaIrish - Nginx Mailing List - English
Jonathan, Reinis, thank you both for your responses. That clarified things a lot!by SupaIrish - Nginx Mailing List - English