Nginx: Ignore all internal-api paths
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
# mempool #
|
||||
###########
|
||||
|
||||
# any path containing .*/internal-api/.* anywhere is ignored
|
||||
location ~ ^/.*?/internal-api/ {
|
||||
return 404;
|
||||
}
|
||||
|
||||
# websocket has special HTTP headers
|
||||
location /api/v1/ws {
|
||||
try_files /dev/null @mempool-api-v1-websocket;
|
||||
|
||||
Reference in New Issue
Block a user