Merge pull request #2458 from mempool/wiz/add-missing-unfurler-nginx-route

[ops] Add missing unfurl nginx route
This commit is contained in:
wiz 2022-08-30 16:55:26 +02:00 committed by GitHub
commit 7f2e68dae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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