From 97dc174b26461df1395394c02401bb51dd6376bc Mon Sep 17 00:00:00 2001
From: bsw215583320 <baoshiwei121@163.com>
Date: 星期一, 04 十二月 2023 08:03:53 +0800
Subject: [PATCH] 增加opc设备维护和控制功能
---
Dockerfile | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index bafce2b..e9b4a79 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