mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 18:03:00 +01:00
ops: Add /api/v1/services
route for new backend
This commit is contained in:
parent
7744146ef7
commit
ce3b599bab
@ -1,3 +1,15 @@
|
||||
location /api/v1/services {
|
||||
proxy_pass $mempoolSpaceServices;
|
||||
proxy_cache services;
|
||||
proxy_cache_background_update on;
|
||||
proxy_cache_use_stale updating;
|
||||
proxy_cache_valid 200 1d;
|
||||
expires 1d;
|
||||
proxy_hide_header onion-location;
|
||||
proxy_hide_header strict-transport-security;
|
||||
proxy_hide_header content-security-policy;
|
||||
proxy_hide_header x-frame-options;
|
||||
}
|
||||
location /api/v1/contributors/images {
|
||||
proxy_pass $mempoolSpaceServices;
|
||||
proxy_cache services;
|
||||
|
Loading…
Reference in New Issue
Block a user