Skip to content

Commit

Permalink
Merge pull request #3729 from clhey/custom_proxy
Browse files Browse the repository at this point in the history
move advanced_config section of /app/templates/_location.conf to top of default config
  • Loading branch information
jc21 committed May 20, 2024
2 parents b383f46 + 280bac8 commit 3754a56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/templates/_location.conf
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -17,8 +19,5 @@
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;
{% endif %}


{{ advanced_config }}
}

0 comments on commit 3754a56

Please sign in to comment.