|
|
|
@ -23,6 +23,16 @@ server { |
|
|
|
|
# required to avoid HTTP 411: see Issue #1486 (https://github.com/dotcloud/docker/issues/1486) |
|
|
|
|
chunked_transfer_encoding on; |
|
|
|
|
|
|
|
|
|
location = /api/live/ws { |
|
|
|
|
access_log off; |
|
|
|
|
|
|
|
|
|
proxy_pass http://grafana:3000; |
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
location / { |
|
|
|
|
proxy_pass http://grafana:3000; |
|
|
|
|
proxy_set_header Host $host; |
|
|
|
|