[ops] Add missing unfurl nginx route

This commit is contained in:
wiz 2022-08-30 16:50:31 +02:00
parent 4f3acb65cf
commit 53774a84c6

View File

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