We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 097206c commit 5723f91Copy full SHA for 5723f91
internal/datasource/config/nginx_config_parser.go
@@ -741,6 +741,10 @@ func (ncp *NginxConfigParser) isPort(value string) bool {
741
}
742
743
func (ncp *NginxConfigParser) isSSLEnabled(serverBlock *crossplane.Directive) bool {
744
+ if serverBlock == nil || serverBlock.Block == nil {
745
+ return false
746
+ }
747
+
748
for _, dir := range serverBlock.Block {
749
if dir.Directive == "listen" {
750
for _, arg := range dir.Args[1:] {
0 commit comments