Add suggestions from wiz

Co-authored-by: wiz <j@wiz.biz>
This commit is contained in:
Jonathan Underwoodandwiz authored and Mononaut committed 2023-11-12 05:04:41 +00:00
1 parent d16773bfa0
commit 502a1c021e
3 files changed
+6 -10

No files matched your search

+4 -3
View File
@@ -2,11 +2,12 @@
# mempool #
###########
# any path containing .*/internal-api/.* anywhere is ignored
location ~ ^/.*?/internal-api/ {
location /api/internal/ {
return 404;
}
location /api/v1/internal/ {
return 404;
}
# websocket has special HTTP headers
location /api/v1/ws {
try_files /dev/null @mempool-api-v1-websocket;