Disable caching of electrs endpoints in production/nginx.conf

This commit is contained in:
wiz 2021-05-06 21:19:45 +09:00
parent 2f8f3ca2e9
commit f281e84396
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -153,8 +153,6 @@ http {
access_log /dev/null;
location / {
proxy_pass http://electrs-mainnet;
proxy_cache mainnet;
proxy_cache_valid 200 2s;
}
}
@ -169,8 +167,6 @@ http {
access_log /dev/null;
location / {
proxy_pass http://electrs-liquid;
proxy_cache liquid;
proxy_cache_valid 200 2s;
}
}
@ -185,8 +181,6 @@ http {
access_log /dev/null;
location / {
proxy_pass http://electrs-testnet;
proxy_cache testnet;
proxy_cache_valid 200 2s;
}
}
@ -200,8 +194,6 @@ http {
access_log /dev/null;
location / {
proxy_pass http://electrs-signet;
proxy_cache signet;
proxy_cache_valid 200 2s;
}
}