liuchen864
3 weeks ago
14 changed files with 58 additions and 175 deletions
@ -1,14 +0,0 @@ |
|||||
VITE_BASE_URL=http://172.21.32.13:81/api/admin-api |
|
||||
VITE_BASE_URL_IMAGE=http://172.21.32.13:81/admin-api |
|
||||
|
|
||||
# 租户配置 |
|
||||
VITE_TENANT='[{"text":"长春1379","value":1}]' |
|
||||
|
|
||||
# 是否是测试环境 |
|
||||
VITE_isDevelopment=false |
|
||||
|
|
||||
# 积木报表请求路径 |
|
||||
VITE_JMREPORT_BASE_URL='http://172.21.32.13:90' |
|
||||
|
|
||||
# 项目管理模式 批次货/包装 |
|
||||
VITE_MANAGE_MODEL="BY_BATCH" |
|
@ -1,14 +0,0 @@ |
|||||
VITE_BASE_URL=http://172.21.32.14:81/api/admin-api |
|
||||
VITE_BASE_URL_IMAGE=http://172.21.32.14:81/admin-api |
|
||||
|
|
||||
# 租户配置 |
|
||||
VITE_TENANT='[{"text":"长春1379","value":1}]' |
|
||||
|
|
||||
# 是否是测试环境 |
|
||||
VITE_isDevelopment=true |
|
||||
|
|
||||
# 积木报表请求路径 |
|
||||
VITE_JMREPORT_BASE_URL='http://172.21.32.14:90' |
|
||||
|
|
||||
# 项目管理模式 批次货/包装 |
|
||||
VITE_MANAGE_MODEL="BY_BATCH" |
|
@ -1,14 +0,0 @@ |
|||||
VITE_BASE_URL=https://scp.faway-hella.com:81/api/admin-api |
|
||||
VITE_BASE_URL_IMAGE=https://scp.faway-hella.com:81/admin-api |
|
||||
|
|
||||
# 租户配置 |
|
||||
VITE_TENANT='[{"text":"长春1379","value":1}]' |
|
||||
|
|
||||
# 是否是测试环境 |
|
||||
VITE_isDevelopment=true |
|
||||
|
|
||||
# 积木报表请求路径 |
|
||||
VITE_JMREPORT_BASE_URL='https://scp.faway-hella.com' |
|
||||
|
|
||||
# 项目管理模式 批次货/包装 |
|
||||
VITE_MANAGE_MODEL="BY_BATCH" |
|
@ -1,14 +0,0 @@ |
|||||
VITE_BASE_URL=https://scptest.faway-hella.com:81/api/admin-api |
|
||||
VITE_BASE_URL_IMAGE=https://scptest.faway-hella.com:81/admin-api |
|
||||
|
|
||||
# 租户配置 |
|
||||
VITE_TENANT='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' |
|
||||
|
|
||||
# 是否是测试环境 |
|
||||
VITE_isDevelopment=true |
|
||||
|
|
||||
# 积木报表请求路径 |
|
||||
VITE_JMREPORT_BASE_URL='https://scptest.faway-hella.com' |
|
||||
|
|
||||
# 项目管理模式 批次货/包装 |
|
||||
VITE_MANAGE_MODEL="BY_BATCH" |
|
@ -1,15 +0,0 @@ |
|||||
VITE_BASE_URL=http://172.22.32.8:81/api/admin-api |
|
||||
VITE_BASE_URL_IMAGE=http://172.22.32.8:81/admin-api |
|
||||
|
|
||||
# 租户配置 |
|
||||
VITE_TENANT='[{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' |
|
||||
|
|
||||
# 是否是测试环境 |
|
||||
VITE_isDevelopment=false |
|
||||
|
|
||||
|
|
||||
# 积木报表请求路径 |
|
||||
VITE_JMREPORT_BASE_URL='http://172.22.32.8:90' |
|
||||
|
|
||||
# 项目管理模式 批次货/包装 |
|
||||
VITE_MANAGE_MODEL="BY_BATCH" |
|
@ -1,14 +0,0 @@ |
|||||
VITE_BASE_URL=http://172.22.32.9:81/api/admin-api |
|
||||
VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api |
|
||||
|
|
||||
# 租户配置 |
|
||||
VITE_TENANT='[{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' |
|
||||
|
|
||||
# 是否是测试环境 |
|
||||
VITE_isDevelopment=true |
|
||||
|
|
||||
# 积木报表请求路径 |
|
||||
VITE_JMREPORT_BASE_URL='http://172.22.32.9:90' |
|
||||
|
|
||||
# 项目管理模式 批次货/包装 |
|
||||
VITE_MANAGE_MODEL="BY_BATCH" |
|
@ -1,15 +1,14 @@ |
|||||
VITE_BASE_URL=http://172.22.32.8:81/api/admin-api |
VITE_BASE_URL=http://192.168.120.34:81/api/admin-api |
||||
VITE_BASE_URL_IMAGE=http://172.22.32.8:81/admin-api |
VITE_BASE_URL_IMAGE=http://192.168.120.34:81/admin-api |
||||
|
|
||||
# 租户配置 |
# 租户配置 |
||||
VITE_TENANT='[{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' |
VITE_TENANT='[{"text":"英泰","value":1}]' |
||||
|
|
||||
# 是否是测试环境 |
# 是否是测试环境 |
||||
VITE_isDevelopment=false |
VITE_isDevelopment=true |
||||
|
|
||||
|
|
||||
# 积木报表请求路径 |
# 积木报表请求路径 |
||||
VITE_JMREPORT_BASE_URL='http://172.22.32.8:90' |
VITE_JMREPORT_BASE_URL='http://192.168.120.34:81/api' |
||||
|
|
||||
# 项目管理模式 批次货/包装 |
# 项目管理模式 批次货/包装 |
||||
VITE_MANAGE_MODEL="BY_BATCH" |
VITE_MANAGE_MODEL="BY_BATCH" |
@ -1,12 +1,14 @@ |
|||||
|
VITE_BASE_URL=http://192.168.120.35:81/api/admin-api |
||||
VITE_BASE_URL=http://dev.ccwin-in.com:25300/api/admin-api |
VITE_BASE_URL_IMAGE=http://192.168.120.35:81/admin-api |
||||
VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:25300/admin-api |
|
||||
|
|
||||
# 租户配置 |
# 租户配置 |
||||
VITE_TENANT='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]' |
VITE_TENANT='[{"text":"英泰","value":1}]' |
||||
|
|
||||
# 是否是测试环境 |
# 是否是测试环境 |
||||
VITE_isDevelopment=true |
VITE_isDevelopment=true |
||||
|
|
||||
# 积木报表请求路径 |
# 积木报表请求路径 |
||||
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25310' |
VITE_JMREPORT_BASE_URL='http://192.168.120.35:81/api' |
||||
|
|
||||
|
# 项目管理模式 批次货/包装 |
||||
|
VITE_MANAGE_MODEL="BY_BATCH" |
@ -0,0 +1,15 @@ |
|||||
|
VITE_BASE_URL=http://dev.ccwin-in.com:28051/api/admin-api |
||||
|
VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:28051/admin-api |
||||
|
|
||||
|
# 租户配置 |
||||
|
VITE_TENANT='[{"text":"英泰","value":1}]' |
||||
|
|
||||
|
# 是否是测试环境 |
||||
|
VITE_isDevelopment=false |
||||
|
|
||||
|
|
||||
|
# 积木报表请求路径 |
||||
|
VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:28051' |
||||
|
|
||||
|
# 项目管理模式 批次货/包装 |
||||
|
VITE_MANAGE_MODEL="BY_BATCH" |
@ -1,7 +0,0 @@ |
|||||
# 设置基础镜像 |
|
||||
FROM win-nginx |
|
||||
|
|
||||
WORKDIR /opt/sfms3.0-uniapp |
|
||||
COPY nginx_prod.conf /usr/local/nginx/conf/nginx.conf |
|
||||
# 将dist/build/h5/文件中的内容复制到 /opt/sfms3.0-uniapp 这个目录下面 |
|
||||
COPY dist/build/h5/ /opt/sfms3.0-uniapp |
|
@ -1,57 +0,0 @@ |
|||||
user root; |
|
||||
worker_processes 2; |
|
||||
|
|
||||
events { |
|
||||
worker_connections 1024; |
|
||||
} |
|
||||
|
|
||||
http { |
|
||||
include mime.types; |
|
||||
charset utf-8,gbk; |
|
||||
default_type application/octet-stream; |
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' |
|
||||
'$status $body_bytes_sent "$http_referer" ' |
|
||||
'"$http_user_agent" "$http_x_forwarded_for" "$request_time $upstream_response_time"'; |
|
||||
|
|
||||
proxy_cache_path /opt/nginx_cache/ levels=1:2 keys_zone=my_zone:10m inactive=300s max_size=5g; |
|
||||
access_log logs/access.log main; |
|
||||
sendfile on; |
|
||||
#tcp_nopush on; |
|
||||
keepalive_timeout 600s; |
|
||||
client_max_body_size 200m; |
|
||||
gzip on; |
|
||||
gzip_min_length 10k; |
|
||||
gzip_comp_level 9; |
|
||||
gzip_buffers 4 16k; |
|
||||
gzip_types text/plain application/javascript text/css application/xml text/javascript image/jpeg image/gif image/png; |
|
||||
gzip_vary on; |
|
||||
gzip_disable "MSIE [1-6]\."; |
|
||||
upstream sfms3.0 { |
|
||||
server localhost:90 weight=10 max_fails=3 fail_timeout=10s; |
|
||||
} |
|
||||
server { |
|
||||
listen 81; |
|
||||
server_name_in_redirect off; |
|
||||
server_name _; |
|
||||
location /api/ { |
|
||||
proxy_pass http://sfms3.0/; |
|
||||
proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header; |
|
||||
proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for; |
|
||||
proxy_set_header Host $http_host; |
|
||||
proxy_set_header X-Real-IP $remote_addr; |
|
||||
proxy_set_header X-Forwarded-For $http_x_forwarded_for; |
|
||||
} |
|
||||
location /profile/ { |
|
||||
alias /opt/profile/; |
|
||||
index index.html index.htm; |
|
||||
} |
|
||||
location / { |
|
||||
proxy_cache my_zone; |
|
||||
proxy_cache_valid 200 304 12h; |
|
||||
proxy_cache_key $host$uri$is_args$args; |
|
||||
try_files $uri $uri/ /index.html; |
|
||||
root /opt/sfms3.0-uniapp; |
|
||||
index index.html index.htm; |
|
||||
} |
|
||||
} |
|
||||
} |
|
Loading…
Reference in new issue