Skip to content

Commit

Permalink
Add flower to nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
adelavega committed Mar 2, 2020
1 parent d5c4121 commit 5b1780e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nginx/sites-enabled/flask_project
Expand Up @@ -67,6 +67,14 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

location /flower/ {
proxy_pass http://monitor:5555/;
proxy_set_header Host $host/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}


location / {
proxy_pass http://neuroscout:8000;
proxy_set_header Host $host;
Expand Down

0 comments on commit 5b1780e

Please sign in to comment.