From ce4bef230c51b11aa6f833a1ef4f0f411ebd240f Mon Sep 17 00:00:00 2001 From: AlexBocken Date: Tue, 4 Jul 2023 10:52:26 +0200 Subject: [PATCH] fix ankidroid msync --- docs/anki_sync_server.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/anki_sync_server.md b/docs/anki_sync_server.md index 3e27f76..55e69a3 100644 --- a/docs/anki_sync_server.md +++ b/docs/anki_sync_server.md @@ -10,9 +10,9 @@ We're assuming here that you are running the latest Anki on your server, however ## Reverse Proxy using nginx Anki creates a sync server locally on 0.0.0.0:8080. We want to put this behind a reverse proxy for convenience. -Create a new `server{}` section in your nginx setup. Recommended is a new file in `/etc/nginx/sites-available` -```/etc/nginx/sites-available/anki_sync_server -server{ +Create a new `server{}` section in your nginx setup. Recommended is a new file in `/etc/nginx/sites-available/anki_sync_server` + +```nginx server_name anki.; listen 80; client_max_body_size 500M; @@ -86,6 +86,6 @@ If everything looks good in the journal, you can `sytemctl renable anki_sync_ser ## Ankidroid 1. Go to: `Settings -> Advanced -> Custom sync server` -2. Set both the sync url and the media sync url to `https://anki.` +2. Set both the sync url to: `https://anki.` and the media sync url to `https://anki./msync` 3. Click on the sync icon in the main top-bar. Login using your `` and `` you set in the service file. `