Skip to content

Commit

Permalink
Added route for flower
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Durand committed Dec 10, 2016
1 parent 16d42e9 commit 742a55a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions miilibrary.nginx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ server {

client_max_body_size 0;

location /celery {
client_max_body_size 0;
proxy_pass http://localhost:5555/;
proxy_redirect off;
proxy_read_timeout 5m;

# make sure these HTTP headers are set properly
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

# Attempt to serve files first, then pass the request up to Gunicorn
try_files $uri @gunicorn;

Expand Down

0 comments on commit 742a55a

Please sign in to comment.