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"
|
||||
],
|
||||
"routes": []
|
||||
{% if caddy_use_https is sameas true %},
|
||||
{% if caddy_use_https is sameas false %},
|
||||
"automatic_https": {
|
||||
"disable": true
|
||||
}
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
":443"
|
||||
],
|
||||
"routes": []
|
||||
{% if caddy_use_https is sameas true %},
|
||||
{% if caddy_use_https is sameas false %},
|
||||
"automatic_https": {
|
||||
"disable": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue