nginx bad 400

 1     server {
 2         listen       80;
 3         server_name  product.yuffie132.edu;
 4 
 5         location /static {
 6             root   html;
 7         }
 8 
 9         location / {
10             root   html;
11             index  index.html index.htm;
12             proxy_pass  http://yu_web_132;
13             proxy_set_header Host $http_host;
14         }
15         error_page   500 502 503 504  /50x.html;
16         location = /50x.html {
17             root   html;
18         }
19     }

13行,location块 proxy_set_header Host $http_host;

上一篇:Python中的模块介绍和使用


下一篇:多期DID模型的经典文献,big bad banks讲解