First, specify the file you want to upload by following the “specify file for upload” link from your capsule page. A good place to start is “index.gmi”. This takes you to the URL for the new file. It does not exist, yet. Use “e” to edit it and save using “C-c C-c”.
If it worked, you are redirected to the main page and “index.gmi” is now one of the files you can visit. Reload the page if you’re seeing a cached page saying that it does not exist. 😁