From ec743754d4eec74005f64ed537989b5ba6af4e79 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期一, 20 三月 2023 10:14:08 +0800 Subject: [PATCH] 添加检测结果界面 --- Dockerfile | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Dockerfile b/Dockerfile index bafce2b..65ad3a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,27 +1,27 @@ FROM nginx -MAINTAINER jeecgos@163.com +MAINTAINER bsw VOLUME /tmp ENV LANG en_US.UTF-8 RUN echo "server { \ - listen 80; \ - location /jeecgboot/ { \ - proxy_pass http://jeecg-boot-system:8080/jeecg-boot/; \ - proxy_redirect off; \ - proxy_set_header Host jeecg-boot-system; \ - proxy_set_header X-Real-IP \$remote_addr; \ - proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \ - } \ - #瑙e喅Router(mode: 'history')妯″紡涓嬶紝鍒锋柊璺敱鍦板潃涓嶈兘鎵惧埌椤甸潰鐨勯棶棰� \ - location / { \ - root /var/www/html/; \ - index index.html index.htm; \ - if (!-e \$request_filename) { \ - rewrite ^(.*)\$ /index.html?s=\$1 last; \ - break; \ - } \ - } \ - access_log /var/log/nginx/access.log ; \ - } " > /etc/nginx/conf.d/default.conf \ + listen 80; \ + location /herb/ { \ + proxy_pass http://jeecg-boot-gateway:9999/; \ + proxy_redirect off; \ + proxy_set_header Host jeecg-boot-gateway; \ + proxy_set_header X-Real-IP \$remote_addr; \ + proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \ + } \ + #瑙e喅Router(mode: 'history')妯″紡涓嬶紝鍒锋柊璺敱鍦板潃涓嶈兘鎵惧埌椤甸潰鐨勯棶棰� \ + location / { \ + root /var/www/html/; \ + index index.html index.htm; \ + if (!-e \$request_filename) { \ + rewrite ^(.*)\$ /index.html?s=\$1 last; \ + break; \ + } \ + } \ + access_log /var/log/nginx/access.log ; \ + } " > /etc/nginx/conf.d/default.conf \ && mkdir -p /var/www \ && mkdir -p /var/www/html -- Gitblit v1.9.3