mirror of
https://github.com/mempool/mempool.git
synced 2025-03-03 17:47:01 +01:00
ops: Add missing unfurl route in nginx/server-common.conf
This commit is contained in:
parent
b8a3c15ed2
commit
8adacd4a0e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue