From 8adacd4a0e4423c402a3abd353639b55b5445e1e Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 8 Mar 2023 16:14:43 +0900 Subject: [PATCH] ops: Add missing unfurl route in nginx/server-common.conf --- production/nginx/server-common.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/production/nginx/server-common.conf b/production/nginx/server-common.conf index 1d1bcbcd1..8c2f2bcea 100644 --- a/production/nginx/server-common.conf +++ b/production/nginx/server-common.conf @@ -65,6 +65,9 @@ location ~ ^/([a-z][a-z])/(.+\..+\.(js|css)) { } # cache everything else for 5 minutes location ~ ^/([a-z][a-z])$ { + if ($unfurlbot) { + proxy_pass $mempoolSpaceUnfurler; + } try_files $uri /$1/index.html /en-US/index.html =404; expires 5m; }