Ip whitlisting doesn't seem to work

I’m trying to limit access to my gitlab so people will have to go through the office VPN, the enviroment is

  • installed on Ubuntu 20.4

  • omnibus install

  • gitlab version is 14.7.0

I have uncommented and added the ip I want to white list in the gitlab.rb as so
gitlab_rails['monitoring_whitelist'] = ['', '', 'xxx.xxx.xxx.xxx']

I’ve gitlab-ctl-reconfigure and restarted, even rebooted the server just to be sure, but I am still able to access it from a random IP that is not the one I put in the whitlist. Am I doing something wrong?