diff --git a/setup.sh b/setup.sh index 10e1bc0..02a0207 100755 --- a/setup.sh +++ b/setup.sh @@ -208,6 +208,8 @@ cat > "$DATA_DIR/web/index.html" <
@@ -294,10 +296,26 @@ key — no passwords: HTML chown "$SVC_USER:$SVC_USER" "$DATA_DIR/web/index.html" +# OpenWebring membership descriptor (served by the site-root file_server). +install -d -o "$SVC_USER" -g "$SVC_USER" -m 0755 "$DATA_DIR/web/.well-known" +cat > "$DATA_DIR/web/.well-known/openwebring.json" <