From 280bac8b430a3465f1fbc4d7e8d94e148ad740e7 Mon Sep 17 00:00:00 2001 From: clhey Date: Sun, 28 Apr 2024 18:18:38 +0800 Subject: [PATCH] advanced config move to top of default confg --- backend/templates/_location.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/templates/_location.conf b/backend/templates/_location.conf index 2ee0d31b..b7563227 100644 --- a/backend/templates/_location.conf +++ b/backend/templates/_location.conf @@ -1,4 +1,6 @@ location {{ path }} { + {{ advanced_config }} + proxy_set_header Host $host; proxy_set_header X-Forwarded-Scheme $scheme; proxy_set_header X-Forwarded-Proto $scheme; @@ -17,8 +19,5 @@ proxy_set_header Connection $http_connection; proxy_http_version 1.1; {% endif %} - - - {{ advanced_config }} }