File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
internal/configs/version2 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -214,11 +214,11 @@ server {
214
214
access_log {{ .ApDosAccessLogDest }} log_dos if=$loggable;
215
215
{{- end }}
216
216
217
- {{- if .ApDosMonitor }}
217
+ {{- if .ApDosMonitorURI }}
218
218
{{- if or .ApDosMonitorProtocol .ApDosMonitorTimeout}}
219
- app_protect_dos_monitor uri={{ .ApDosMonitor }}{{if .ApDosMonitorProtocol}} protocol={{.ApDosMonitorProtocol}}{{end}}{{if .ApDosMonitorTimeout}} timeout={{.ApDosMonitorTimeout}}{{end}};
219
+ app_protect_dos_monitor uri={{ .ApDosMonitorURI }}{{if .ApDosMonitorProtocol}} protocol={{.ApDosMonitorProtocol}}{{end}}{{if .ApDosMonitorTimeout}} timeout={{.ApDosMonitorTimeout}}{{end}};
220
220
{{- else}}
221
- app_protect_dos_monitor "{{ .ApDosMonitor }}";
221
+ app_protect_dos_monitor "{{ .ApDosMonitorURI }}";
222
222
{{- end}}
223
223
{{- end}}
224
224
You can’t perform that action at this time.
0 commit comments