ops: Add missing unfurl route in nginx/server-common.conf

This commit is contained in:
wiz committed 2023-03-08 16:14:43 +09:00
1 parent 16e82dc292
commit 1fc0289dcd
1 file changed
+3
+3
View File
@@ -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;
}