Unable to disable bundled nginx

I am running gitlab community edition 10.8.4, I tried to disable nginx and reconfigure but its not working.
I was following this documentation https://docs.gitlab.com/omnibus/settings/nginx.html#using-a-non-bundled-web-server