mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
[fix] Also add hostname to no_proxy list
This commit is contained in:
@@ -2252,7 +2252,7 @@ set_path() {
|
||||
set_proxy() {
|
||||
|
||||
# Don't proxy localhost, local ip, and management ip
|
||||
local no_proxy_string="localhost, 127.0.0.1, ${MAINIP}"
|
||||
local no_proxy_string="localhost, 127.0.0.1, ${MAINIP}, ${HOSTNAME}"
|
||||
|
||||
# Set proxy environment variables used by curl, wget, docker, and others
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user