pr_13229_ce_only.patch 324 B

1234567891011121314
  1. --- etc/nginx/sites-enabled/sharelatex.conf
  2. +++ etc/nginx/sites-enabled/sharelatex.conf
  3. @@ -4,6 +4,11 @@ server {
  4. root /overleaf/services/web/public/;
  5. + # block external access to prometheus /metrics
  6. + location /metrics {
  7. + internal;
  8. + }
  9. +
  10. location / {
  11. proxy_pass http://127.0.0.1:3000;
  12. proxy_http_version 1.1;