mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix examples/nginx.conf
This commit is contained in:
parent
fd3180445f
commit
69ab24b589
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user