From 6e2f6cfb57ed7de299dbac72d116e11deb9daefc Mon Sep 17 00:00:00 2001 From: 0000792 <1161664478@qq.com> Date: Fri, 9 Sep 2022 11:27:01 +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 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1c10e93e..49ed248c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,14 +3,14 @@ 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 /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/; \