Adding clean config method for nginx.