mirror of
https://github.com/thib8956/nginx-proxy
synced 2026-11-02 03:02:25 +00:00
fix: Don't create cert error https server if https is not enabled
This commit is contained in:
1 parent
18d0671312
commit
16066cab61
12 files changed
+483
-3
No files matched your search
+1
-1
@@ -559,7 +559,7 @@ server {
|
||||
{{- end }}
|
||||
}
|
||||
|
||||
{{- if and (or (eq $https_method "nohttps") (not $cert_ok)) $globals.default_cert_ok }}
|
||||
{{- if and (ne $https_method "nohttps") (not $cert_ok) $globals.default_cert_ok }}
|
||||
server {
|
||||
server_name {{ $host }};
|
||||
{{- if $server_tokens }}
|
||||
|
||||
Reference in new issue
Block a user