Fix https redirect setting
Fixed the reverse setting for https redirection. It would redirect when the option was toggled off and vice versa.
This commit is contained in:
parent
f4864c5da3
commit
da1e696292
2 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
":80"
|
":80"
|
||||||
],
|
],
|
||||||
"routes": []
|
"routes": []
|
||||||
{% if caddy_use_https is sameas true %},
|
{% if caddy_use_https is sameas false %},
|
||||||
"automatic_https": {
|
"automatic_https": {
|
||||||
"disable": true
|
"disable": true
|
||||||
}
|
}
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
":443"
|
":443"
|
||||||
],
|
],
|
||||||
"routes": []
|
"routes": []
|
||||||
{% if caddy_use_https is sameas true %},
|
{% if caddy_use_https is sameas false %},
|
||||||
"automatic_https": {
|
"automatic_https": {
|
||||||
"disable": true
|
"disable": true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@ caddy_stack:
|
||||||
name: caddy
|
name: caddy
|
||||||
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||||
|
|
||||||
caddy_http_server_name: http
|
caddy_http_server_name: httpserve
|
||||||
caddy_https_server_name: https
|
caddy_https_server_name: httpsserve
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue