Update production nginx-mempool.conf for donations API endpoint

This commit is contained in:
wiz 2021-08-11 01:00:17 +09:00
parent 34d46e8ca5
commit 994eb378af
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -116,7 +116,7 @@
# serivces API
location /api/v1/contributors {
# don't rate limit this API prefix
proxy_pass https://node220.bitcoin.wiz.biz;
proxy_pass https://mempool.space;
proxy_hide_header onion-location;
proxy_hide_header strict-transport-security;
proxy_hide_header content-security-policy;
@ -124,7 +124,7 @@
}
location /api/v1/donations {
# don't rate limit this API prefix
proxy_pass https://node220.bitcoin.wiz.biz;
proxy_pass https://mempool.space;
proxy_hide_header onion-location;
proxy_hide_header strict-transport-security;
proxy_hide_header content-security-policy;
@ -132,7 +132,7 @@
}
location /api/v1/donations/images {
# don't rate limit this API prefix
proxy_pass https://node220.bitcoin.wiz.biz;
proxy_pass https://mempool.space;
proxy_cache services;
proxy_cache_valid 200 1d;
expires 7d;