Compare commits

...

4 Commits

Author SHA1 Message Date
million 4656e3e90b
Pre Merge pull request !383 from million/N/A 2025-03-10 03:45:52 +00:00
若依 a6bcebb62b
!397 修复actuator暴漏问题
Merge pull request !397 from 威士忌的纯度/N/A
2025-03-10 03:45:34 +00:00
威士忌的纯度 1cb262daa3
修复actuator暴漏问题
Signed-off-by: 威士忌的纯度 <whr888888@vip.qq.com>
2025-03-07 10:22:52 +00:00
million 0363d18db7
update docker/nginx/conf/nginx.conf.
Signed-off-by: million <lzc199796@163.com>
2024-10-16 09:19:15 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ http {
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://ruoyi-gateway:8080/;
proxy_pass http://ruoyi:8080/;
}
# 避免actuator暴露
if ($request_uri ~ "/actuator") {
if ($uri ~ "/actuator") {
return 403;
}