mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-22 23:51:27 +01:00
Fix metrics template for http mode
the port shouldn't be hardcode Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
parent
ec83f49a1a
commit
307c5a8ed4
@ -210,11 +210,11 @@ http {
|
||||
}
|
||||
{% if metric.enabled %}
|
||||
upstream core_metrics {
|
||||
server core:9090;
|
||||
server core:{{ metric.port }};
|
||||
}
|
||||
|
||||
upstream registry_metrics {
|
||||
server registry:5001;
|
||||
server registry:{{ metric.port }};
|
||||
}
|
||||
|
||||
upstream harbor_exporter {
|
||||
|
Loading…
Reference in New Issue
Block a user