File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ server {
5
5
{% include "_listen.conf" %}
6
6
{% include "_certificates.conf" %}
7
7
{% include "_hsts.conf" %}
8
+ {% include "_forced_ssl.conf" %}
8
9
9
10
access_log /data/logs/dead_host-{{ id }}.log standard;
10
11
11
12
{{ advanced_config }}
12
13
13
14
{% if use_default_location %}
14
15
location / {
15
- {% include "_forced_ssl.conf" %}
16
16
{% include "_hsts.conf" %}
17
17
return 404;
18
18
}
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ server {
11
11
{% include "_assets.conf" %}
12
12
{% include "_exploits.conf" %}
13
13
{% include "_hsts.conf" %}
14
+ {% include "_forced_ssl.conf" %}
14
15
15
16
access_log /data/logs/proxy_host-{{ id }}.log proxy;
16
17
@@ -43,7 +44,6 @@ server {
43
44
44
45
{% endif %}
45
46
46
- {% include "_forced_ssl.conf" %}
47
47
{% include "_hsts.conf" %}
48
48
49
49
{% if allow_websocket_upgrade == 1 or allow_websocket_upgrade == true %}
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ server {
7
7
{% include "_assets.conf" %}
8
8
{% include "_exploits.conf" %}
9
9
{% include "_hsts.conf" %}
10
+ {% include "_forced_ssl.conf" %}
10
11
11
12
access_log /data/logs/redirection_host-{{ id }}.log standard;
12
13
13
14
{{ advanced_config }}
14
15
15
16
{% if use_default_location %}
16
17
location / {
17
- {% include "_forced_ssl.conf" %}
18
18
{% include "_hsts.conf" %}
19
19
20
20
{% if preserve_path == 1 or preserve_path == true %}
You can’t perform that action at this time.
0 commit comments