fix mod config when opsProxy is not set
Merge pull request #5189 from ticoann/fix_mod_config

fix mod config when opsProxy is not set