upstream tree_cms { server 127.0.0.1:6515; } server { listen 8070; server_name tree.sup.land treeofficial.com www.treeofficial.com; client_max_body_size 50M; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://tree_cms; proxy_redirect off; } }