From 38784364f0b46ea7274fb5623c6ac4ce4425b546 Mon Sep 17 00:00:00 2001 From: overcat <4catcode@gmail.com> Date: Wed, 12 Jun 2024 11:27:57 +0800 Subject: [PATCH 1/2] fix nginx config. --- .../admin-guide/publishing-history-archives.mdx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/network/core-node/admin-guide/publishing-history-archives.mdx b/network/core-node/admin-guide/publishing-history-archives.mdx index 41ae65db3f..69770bd28f 100644 --- a/network/core-node/admin-guide/publishing-history-archives.mdx +++ b/network/core-node/admin-guide/publishing-history-archives.mdx @@ -58,9 +58,6 @@ server { server_name history.example.com; - # default is to deny all - location / { deny all; } - # do not cache 404 errors error_page 404 /404.html; location = /404.html { @@ -70,13 +67,13 @@ server { # do not cache history state file location ~ ^/.well-known/stellar-history.json$ { add_header Cache-Control "no-cache" always; - try_files $uri; + try_files $uri =404; } # cache entire history archive for 1 day location / { add_header Cache-Control "max-age=86400"; - try_files $uri; + try_files $uri =404; } } ``` @@ -117,9 +114,6 @@ server { # bucket.name s3 static site endpoint set $s3_bucket "bucket.name.s3-website-us-east-1.amazonaws.com"; - # default is to deny all - location / { deny all; } - # do not cache 404 errors error_page 404 /404.html; location = /404.html { @@ -205,7 +199,7 @@ apt-get install stellar-archivist If you decide to publish a complete archive — which enables other users to join the network from the genesis ledger — you can use `stellar-archivist` to add all missing history data to your partial archive, and to verify the state and integrity of your archive. For example: -``` bash +```bash stellar-archivist scan file:///mnt/xvdf/stellar-core-archive/node_001 ``` From 96fc189ff190918a63fc60d007d7d4f550a93efc Mon Sep 17 00:00:00 2001 From: Bri <92327786+briwylde08@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:56:08 -0600 Subject: [PATCH 2/2] Add smart wallet working doc to smart wallet section --- docs/smart-contracts/smart-wallets.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/smart-contracts/smart-wallets.mdx b/docs/smart-contracts/smart-wallets.mdx index aef48fb8d0..80738c3cfd 100644 --- a/docs/smart-contracts/smart-wallets.mdx +++ b/docs/smart-contracts/smart-wallets.mdx @@ -23,6 +23,8 @@ This page is meant to keep users up-to-date on the work being done with passkeys Join the discussion, ask questions, and share your own work with smart wallets in the [Stellar Developer Discord](https://discord.gg/stellardev) in the `#passkeys` channel. +See the work being done on creating a standard for a smart wallet interface in this [Google doc](https://docs.google.com/document/d/1c_Wom6eK1UpC3E7VuQZfOBCLc2d5lvqAhMN7VPieMBQ/edit?usp=sharing). + ## Experiment with passkeys on Stellar Check out some of the current work being done with passkeys on Stellar! This page will be updated frequently as more projects and standards are created.