From 8bacbe71fdb2d686f215648be3505c8448ee8e4e Mon Sep 17 00:00:00 2001 From: Artem Gavrilov Date: Thu, 2 Nov 2023 14:06:26 +0200 Subject: [PATCH] PMM-12460 Expose directory with pmm-dupm artifacts via nginx --- .../playbook/tasks/roles/nginx/files/conf.d/pmm.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/update/ansible/playbook/tasks/roles/nginx/files/conf.d/pmm.conf b/update/ansible/playbook/tasks/roles/nginx/files/conf.d/pmm.conf index 1450c7c7fe..e682ada420 100644 --- a/update/ansible/playbook/tasks/roles/nginx/files/conf.d/pmm.conf +++ b/update/ansible/playbook/tasks/roles/nginx/files/conf.d/pmm.conf @@ -239,6 +239,12 @@ proxy_set_header Connection ""; } + # pmm-dump artifacts + location /dump/ { + root /srv; + autoindex on; + } + # This localtion stores static content for general pmm-server purposes. # Ex.: local-rss.xml - contains Percona's news when no internet connection. location /pmm-static {