From e5c1c8deaf5e82ce3fcee89549137b635c9cc1a4 Mon Sep 17 00:00:00 2001 From: 0000792 <1161664478@qq.com> Date: Fri, 9 Sep 2022 11:39:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49ed248c..3b673870 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,15 +3,7 @@ MAINTAINER lfzxs@qq.com VOLUME /tmp ENV LANG en_US.UTF-8 RUN echo "server { - location /prod-api/{ \ - proxy_read_timeout 600s; \ - proxy_http_version 1.1; \ - proxy_set_header Upgrade $http_upgrade; \ - proxy_set_header Connection "upgrade"; \ - proxy_set_header Host $host; \ - proxy_set_header X-Real-Ip $remote_addr; \ - proxy_pass http://192.168.10.241:30646/; \ - } + location / { \ root /var/www/html/; \ index index.html index.htm; \