mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-21 20:47:10 +08:00
fix(security): nginx.conf 增加安全策略
Some checks failed
npm run build 测试 / task (18.x, npm, macOS-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, npm, ubuntu-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, npm, windows-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, pnpm, macOS-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, pnpm, ubuntu-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, pnpm, windows-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, yarn, macOS-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, yarn, ubuntu-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, yarn, windows-latest) (push) Has been cancelled
Docker 镜像 / task (18.x, npm, ubuntu-latest) (push) Has been cancelled
同步代码 / gitcode (push) Has been cancelled
同步代码 / gitlink (push) Has been cancelled
同步代码 / gitee (push) Has been cancelled
Some checks failed
npm run build 测试 / task (18.x, npm, macOS-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, npm, ubuntu-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, npm, windows-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, pnpm, macOS-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, pnpm, ubuntu-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, pnpm, windows-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, yarn, macOS-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, yarn, ubuntu-latest) (push) Has been cancelled
npm run build 测试 / task (18.x, yarn, windows-latest) (push) Has been cancelled
Docker 镜像 / task (18.x, npm, ubuntu-latest) (push) Has been cancelled
同步代码 / gitcode (push) Has been cancelled
同步代码 / gitlink (push) Has been cancelled
同步代码 / gitee (push) Has been cancelled
This commit is contained in:
parent
3aea300502
commit
a261ab79c9
@ -28,4 +28,9 @@ server {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header from "";
|
||||
}
|
||||
|
||||
# 屏蔽所有敏感路径,不用改代码
|
||||
location ~* ^/(actuator|swagger-ui|v3/api-docs|swagger-resources|webjars|doc.html) {
|
||||
return 403; # 禁止访问
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user