From 1e66ee42f8b718fbe5e21e9de5764e41ef9abec1 Mon Sep 17 00:00:00 2001 From: Markus Scheidgen <markus.scheidgen@gmail.com> Date: Sun, 6 Oct 2019 10:26:35 +0200 Subject: [PATCH] Fixed gui proxy. --- ops/helm/nomad/templates/gui-deployment.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ops/helm/nomad/templates/gui-deployment.yml b/ops/helm/nomad/templates/gui-deployment.yml index b252195dfb..79507e9ab9 100644 --- a/ops/helm/nomad/templates/gui-deployment.yml +++ b/ops/helm/nomad/templates/gui-deployment.yml @@ -29,13 +29,6 @@ data: try_files $uri {{ .Values.proxy.external.path }}/gui/index.html; } - location {{ .Values.proxy.external.path }}/docs { - proxy_set_header Host $host; - proxy_pass_request_headers on; - proxy_pass http://{{ include "nomad.fullname" . }}-app:8000; - try_files $uri {{ .Values.proxy.external.path }}/docs/index.html; - } - location {{ .Values.proxy.external.path }}/gui/service-worker.js { add_header Last-Modified $date_gmt; add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; -- GitLab