From 4ff6ea56fe182e81fa58ca8c63c5b1c5f4fdcfd4 Mon Sep 17 00:00:00 2001 From: Blueyzachary <36614980+Blueyzachary@users.noreply.github.com> Date: Mon, 3 Aug 2020 10:23:38 -0600 Subject: [PATCH] Update vanilla nginx conf template Update vanilla nginx conf template to include the dash manager at /manager. This way, the manager will be enabled by default with wand, and clear up confusion. --- templates/sites/vanilla.conf.template | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/sites/vanilla.conf.template b/templates/sites/vanilla.conf.template index 05b1097..6e6db00 100644 --- a/templates/sites/vanilla.conf.template +++ b/templates/sites/vanilla.conf.template @@ -103,6 +103,15 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } + + location /manager { + proxy_pass http://dash:3000/manager; + proxy_redirect off; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + } server {