From b8d8c80f0b87139da83a71f65054531ce168c8c0 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 11 Dec 2025 21:49:52 +0900 Subject: [PATCH] ops: Change /slurp to /sip, route everything to SSR --- production/nginx/http-proxy-cache.conf | 2 +- production/nginx/server-common.conf | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/production/nginx/http-proxy-cache.conf b/production/nginx/http-proxy-cache.conf index 098f7831c..cb21091e8 100644 --- a/production/nginx/http-proxy-cache.conf +++ b/production/nginx/http-proxy-cache.conf @@ -6,7 +6,7 @@ proxy_cache_path /var/cache/nginx/apinormal keys_zone=apinormal:500m levels=1:2 proxy_cache_path /var/cache/nginx/apicold keys_zone=apicold:200m levels=1:2 inactive=60d max_size=2000m; proxy_cache_path /var/cache/nginx/unfurler keys_zone=unfurler:200m levels=1:2 inactive=30d max_size=2000m; -proxy_cache_path /var/cache/nginx/slurper keys_zone=slurper:500m levels=1:2 inactive=60d max_size=5000m; +proxy_cache_path /var/cache/nginx/sipper keys_zone=sipper:500m levels=1:2 inactive=60d max_size=5000m; types_hash_max_size 8192; diff --git a/production/nginx/server-common.conf b/production/nginx/server-common.conf index 1836cbe6a..071c7f657 100644 --- a/production/nginx/server-common.conf +++ b/production/nginx/server-common.conf @@ -125,8 +125,8 @@ location /unfurl/ { location /ssr/ { try_files /dev/null @mempool-space-ssr; } -location /slurp/ { - try_files /dev/null @mempool-space-slurper; +location /sip/ { + try_files /dev/null @mempool-space-sipper; } # add hack for twitter widget @@ -161,7 +161,7 @@ location / { } location @mempool-space-unfurler { - proxy_pass $mempoolSpaceUnfurler; + proxy_pass $mempoolSpaceSSR; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -195,8 +195,8 @@ location @mempool-space-ssr { expires 5m; } -location @mempool-space-slurper { - proxy_pass $mempoolSpaceUnfurler; +location @mempool-space-sipper { + proxy_pass $mempoolSpaceSSR; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -205,7 +205,7 @@ location @mempool-space-slurper { proxy_cache_background_update on; proxy_cache_use_stale updating; - proxy_cache slurper; + proxy_cache sipper; proxy_cache_valid 200 1h; # will re-render page if older than this proxy_redirect off;