mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Merge pull request #13229 from overleaf/jpa-server-pro-block-metrics-access
[server-pro] block access to metrics and debug endpoints GitOrigin-RevId: 6f0f09de8e13b4e478eb16eae707acf3b1cd8cbd
This commit is contained in:
parent
2ccc1aeea5
commit
a0e8958a9c
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,11 @@ server {
|
|||
|
||||
root /overleaf/services/web/public/;
|
||||
|
||||
# block external access to prometheus /metrics
|
||||
location /metrics {
|
||||
internal;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
proxy_http_version 1.1;
|
||||
|
|
Loading…
Reference in a new issue