mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
15 lines
324 B
Diff
15 lines
324 B
Diff
|
--- etc/nginx/sites-enabled/sharelatex.conf
|
||
|
+++ etc/nginx/sites-enabled/sharelatex.conf
|
||
|
@@ -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;
|