We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a46e88 commit 4c76803Copy full SHA for 4c76803
backend/templates/_location.conf
@@ -1,8 +1,3 @@
1
-{% include "_assets.conf" %}
2
-{% include "_exploits.conf" %}
3
-{% include "_hsts.conf" %}
4
-
5
6
location {{ path }} {
7
proxy_set_header Host $host;
8
proxy_set_header X-Forwarded-Scheme $scheme;
@@ -11,7 +6,6 @@
11
proxy_set_header X-Real-IP $remote_addr;
12
proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }};
13
14
15
9
{% if access_list_id > 0 %}
16
10
{% if access_list.items.length > 0 %}
17
# Authorization
@@ -33,6 +27,8 @@
33
27
34
28
{% endif %}
35
29
30
+ {% include "_assets.conf" %}
31
+ {% include "_exploits.conf" %}
36
32
37
{% include "_forced_ssl.conf" %}
38
{% include "_hsts.conf" %}
@@ -46,3 +42,4 @@
46
42
47
43
{{ advanced_config }}
48
44
}
45
+
0 commit comments