ops: Rewrite nginx config for new services API endpoints

This commit is contained in:
wiz
2023-11-18 15:09:02 +09:00
parent 4070492584
commit 2c820f1cc0
2 changed files with 146 additions and 110 deletions

View File

@@ -4,10 +4,10 @@
# Block the internal APIs of esplora
location /api/internal/ {
return 404;
return 403;
}
location /api/v1/internal/ {
return 404;
return 403;
}
# websocket has special HTTP headers