2
0
MaxKey 3 жил өмнө
parent
commit
4df2884d56

+ 2 - 0
docker/docker-nginx/nginx.conf

@@ -4,6 +4,8 @@ server {
     listen       80;
 
     server_name  localhost;
+	
+	proxy_set_header host $host; # 转发请求时将请求的域名一起转发
 
     location / {
         root   /usr/share/nginx/html;