From 2709690f81f6b55dc0c1f71c41cd966511f59f98 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期五, 27 十月 2023 17:25:11 +0800 Subject: [PATCH] fix 修复 代码生成 是否必填与数据库不匹配问题 --- script/docker/nginx/conf/nginx.conf | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/script/docker/nginx/conf/nginx.conf b/script/docker/nginx/conf/nginx.conf index 38c422a..9776f33 100644 --- a/script/docker/nginx/conf/nginx.conf +++ b/script/docker/nginx/conf/nginx.conf @@ -68,7 +68,7 @@ } location / { - root /usr/share/nginx/html; + root /usr/share/nginx/html; # docker鏄犲皠璺緞 涓嶅厑璁告洿鏀� try_files $uri $uri/ /index.html; index index.html index.htm; } @@ -103,6 +103,11 @@ proxy_pass http://powerjob-server/; } + # 瑙e喅 powerjob 浠g悊涔嬪悗闈欐�佹枃浠舵棤娉曡闂殑闂 璇峰嬁淇敼涔卞姩 + location .*\.(js|css|jpg|png|svg|woff|ttf|ico)?$ { + proxy_pass http://powerjob-server; + } + error_page 500 502 503 504 /50x.html; location = /50x.html { root html; -- Gitblit v1.9.3