ops: Add missing unfurl route in nginx/server-common.conf
This commit is contained in:
parent
b8a3c15ed2
commit
8adacd4a0e
@ -65,6 +65,9 @@ location ~ ^/([a-z][a-z])/(.+\..+\.(js|css)) {
|
|||||||
}
|
}
|
||||||
# cache everything else for 5 minutes
|
# cache everything else for 5 minutes
|
||||||
location ~ ^/([a-z][a-z])$ {
|
location ~ ^/([a-z][a-z])$ {
|
||||||
|
if ($unfurlbot) {
|
||||||
|
proxy_pass $mempoolSpaceUnfurler;
|
||||||
|
}
|
||||||
try_files $uri /$1/index.html /en-US/index.html =404;
|
try_files $uri /$1/index.html /en-US/index.html =404;
|
||||||
expires 5m;
|
expires 5m;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user