From d52f4c71e00cc70ee3bd7eaadc870276c7481b0b Mon Sep 17 00:00:00 2001 From: Mykola Marzhan Date: Fri, 13 Oct 2017 11:55:46 +0300 Subject: [PATCH] PMM-1441 map /managed/ to pmm-managed endpoint --- nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nginx.conf b/nginx.conf index 210ae948b..4aa7af3e6 100644 --- a/nginx.conf +++ b/nginx.conf @@ -80,4 +80,11 @@ proxy_pass http://127.0.0.1:7777; proxy_read_timeout 86400; } + + # pmm-managed + location /managed { + proxy_pass http://127.0.0.1:7772; + rewrite ^/managed/(.*) /$1 break; + } + }