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

This commit is contained in:
wiz 2023-03-08 16:14:43 +09:00
parent b8a3c15ed2
commit 8adacd4a0e
No known key found for this signature in database
GPG key ID: A394E332255A6173

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;
}