summaryrefslogtreecommitdiff
path: root/tree.sup.land
blob: a4cc50203489d0c3858953abb84294e9b54da987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
upstream tree_cms {
  server 127.0.0.1:6515;
}

server {
  listen 8070;
  server_name tree.sup.land 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;
  }
}