Add localhost to allowed_source_subnets for self-monitoring
The HTTP mode installer now includes 127.0.0.1/32 in allowed_source_subnets to permit self-monitoring queries from localhost. This fixes 403 Forbidden errors when nodes query their own sensor-proxy instance. Related to HTTP mode implementation for external PVE hosts.
This commit is contained in:
parent
3c707a7368
commit
9cb151d836
1 changed files with 2 additions and 1 deletions
|
|
@ -1008,9 +1008,10 @@ http_tls_cert: /etc/pulse-sensor-proxy/tls/server.crt
|
||||||
http_tls_key: /etc/pulse-sensor-proxy/tls/server.key
|
http_tls_key: /etc/pulse-sensor-proxy/tls/server.key
|
||||||
http_auth_token: "$HTTP_AUTH_TOKEN"
|
http_auth_token: "$HTTP_AUTH_TOKEN"
|
||||||
|
|
||||||
# Allow HTTP connections from Pulse server only
|
# Allow HTTP connections from Pulse server and localhost (for self-monitoring)
|
||||||
allowed_source_subnets:
|
allowed_source_subnets:
|
||||||
- $PULSE_IP/32
|
- $PULSE_IP/32
|
||||||
|
- 127.0.0.1/32
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
print_success "HTTP mode configured successfully"
|
print_success "HTTP mode configured successfully"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue