Source

woocode / sa-auto / conf / nginx / slwan.com / cms.slwan.com.conf

Full commit
server {
	listen 8088;
	server_name cms.slwan.com cc.slwan.com;

	location / {
#proxy_set_header Host $http_host;
		proxy_set_header Host cms.zjxyz.com;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

		proxy_pass http://local;

	}

	location /u/ {
		alias /apps/dat/cms/ufile/u/;
	}

	location /d/ {
		alias /apps/dat/cms/dfile/d/;
	}

}