[ops] Add missing unfurl nginx route

This commit is contained in:
wiz 2022-08-30 16:50:31 +02:00
parent 868136bb38
commit 4a2c35c81b
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -48,6 +48,9 @@ add_header Vary Cookie;
# for exact / requests, redirect based on $lang
# cache redirect for 5 minutes
location = / {
if ($unfurlbot) {
proxy_pass $mempoolSpaceUnfurler;
}
if ($lang != '') {
return 302 $scheme://$host/$lang/;
}