diff --git a/examples/nginx.conf b/examples/nginx.conf index 5f9a8bde..5ed8f87c 100644 --- a/examples/nginx.conf +++ b/examples/nginx.conf @@ -1,5 +1,5 @@ # This is example contains the bare minimum to get nginx going with -# Gunicornservers. +# Gunicornservers. worker_processes 1; @@ -111,10 +111,8 @@ http { # Try to serve static files from nginx, no point in making an # *application* server like Unicorn/Rainbows! serve static files. - if (!-f $request_filename) { - proxy_pass http://app_server; - break; - } + proxy_pass http://app_server; + } # Error pages