refine main page, refer to nginx/centos