fix config file relative path issue on server