mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
[CE/SP] Hotfix 5.1.1 and 4.2.8 (#19771)
* [CE/SP] Hotfix 5.1.1 and 4.2.8 * Add script to build hotfix releases GitOrigin-RevId: 8ece5e5fd5ec360b66069ce774319511ed82a13a
This commit is contained in:
@@ -67,6 +67,16 @@ server {
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
|
||||
# block external access to metrics
|
||||
location ~* ^/metrics/?$ {
|
||||
return 404 'Not found';
|
||||
}
|
||||
|
||||
# block external access to all health checks /health_check, /health_check/full, etc
|
||||
location ~* ^/health_check {
|
||||
return 404 'Not found';
|
||||
}
|
||||
|
||||
# Load any extra configuration for this vhost
|
||||
include /etc/nginx/vhost-extras/overleaf/*.conf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user