File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ http {
8484 index index .html index .htm;
8585 }
8686
87+ location ~ * ^/( ?<chain_name>.+) /rocksdb/( .*) {
88+ proxy_pass http ://tasks.rocksdb_snapshot_$chain_name /$2$is_args$args ;
89+ }
90+
8791 location ~ * ^/( ?<chain_name>.+) /( .*) {
8892 proxy_pass http ://tasks.snapshot_$chain_name /$2$is_args$args ;
8993 }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ SERVICES=$(curl -s https://raw.githubusercontent.com/notional-labs/cosmosia/main
1414
1515get_links () {
1616 for service_name in $SERVICES ; do
17- echo " <p><a href=\" /${service_name} /\" >$ service_name </a></p>"
17+ echo " <p>$service_name <a href=\" /${service_name} /\" >goleveldb</a> <a href= \" / ${ service_name} /rocksdb/ \" >rocksdb </a></p>"
1818 done
1919}
2020
@@ -25,11 +25,11 @@ cat <<EOT > /usr/share/nginx/html/index.html
2525<html lang="en">
2626<head>
2727 <meta charset="UTF-8">
28- <title>Cosmosia</title>
28+ <title>Cosmosia Snapshots </title>
2929</head>
3030
3131<body>
32- <h3>Snapshot :</h3>
32+ <h3>Snapshots :</h3>
3333 ${links}
3434</body>
3535</html>
You can’t perform that action at this time.
0 commit comments