[ops] Add missing unfurl nginx route
This commit is contained in:
parent
868136bb38
commit
4a2c35c81b
@ -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/;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user