From 25836328835ca4f017658ab546b654a5e5b92c09 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 25 四月 2024 12:50:42 +0800 Subject: [PATCH] update springboot 3.2.4 => 3.2.5 update mybatis-plus 3.5.5 => 3.5.6 适配更改代码 update springdoc 2.4.0 => 2.5.0 update easyexcel 3.3.3 => 3.3.4 update redisson 3.27.2 => 3.29.0 update lombok 1.18.30 => 1.18.32 update sms4j 3.2.0 => 3.2.1 --- script/docker/nginx/conf/nginx.conf | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/script/docker/nginx/conf/nginx.conf b/script/docker/nginx/conf/nginx.conf index 2aa6587..512ce50 100644 --- a/script/docker/nginx/conf/nginx.conf +++ b/script/docker/nginx/conf/nginx.conf @@ -35,6 +35,10 @@ server 127.0.0.1:7700; } + upstream easyretry-server { + server 127.0.0.1:8800; + } + server { listen 80; server_name localhost; @@ -108,10 +112,18 @@ } # 瑙e喅 powerjob 浠g悊涔嬪悗闈欐�佹枃浠舵棤娉曡闂殑闂 璇峰嬁淇敼涔卞姩 - location ~ ^/(js|css|jpg|png|svg|woff|ttf|ico|img)/ { + location ~ ^/(js|img|fonts)/ { proxy_pass http://powerjob-server; } + location /easy-retry/ { + proxy_set_header Host $http_host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header REMOTE-HOST $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_pass http://easyretry-server/easy-retry/; + } + error_page 500 502 503 504 /50x.html; location = /50x.html { root html; -- Gitblit v1.9.3