Initial import of transcript pipeline
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
`memos.maddin.app` erwartet statische Quartz-Buildartefakte unter `/home/maddin/cloud/whisper/memos-site`.
|
||||
|
||||
Vorbereitung:
|
||||
|
||||
```bash
|
||||
transcript memos-auth
|
||||
transcript memos-sync
|
||||
```
|
||||
|
||||
Die dazugehörige nginx-vHost-Datei liegt in [memos.maddin.app.conf](/home/maddin/cloud/whisper/deploy/nginx/memos.maddin.app.conf).
|
||||
|
||||
Wichtige Pfade:
|
||||
|
||||
- Site-Root: `/home/maddin/cloud/whisper/memos-site`
|
||||
- htpasswd: `/home/maddin/cloud/whisper/deploy/nginx/memos.htpasswd`
|
||||
- Quartz-Quelle: `/home/maddin/cloud/whisper/memos-content`
|
||||
|
||||
Die Basic-Auth-Zugangsdaten werden aus `.env` gelesen:
|
||||
|
||||
- `MEMOS_BASIC_AUTH_USER`
|
||||
- `MEMOS_BASIC_AUTH_PASSWORD`
|
||||
|
||||
Hinweis: Eine per `rclone` synchronisierte statische Website ist noch nicht automatisch geschützt. Der Remote-Webserver muss `auth_basic` bzw. die entsprechende Caddy-/nginx-Auth explizit aktivieren und auf die dort vorhandene htpasswd-Datei verweisen.
|
||||
@@ -0,0 +1,15 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name memos.maddin.app;
|
||||
|
||||
root /home/maddin/cloud/whisper/memos-site;
|
||||
index index.html;
|
||||
|
||||
auth_basic "Private Memos";
|
||||
auth_basic_user_file /home/maddin/cloud/whisper/deploy/nginx/memos.htpasswd;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri.html $uri/ /404.html;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user