commit - fd06206184a64e98a93c78572986f4a46fabfe50
commit + c7ff3e931a4b1c563059651b296c4f0f674f0cba
blob - da974a67720f1f04ade41f6e661a771cc5b68ab3
blob + cbb9c374a977cd3826fc68f58ad1f0e086251542
--- README.gmi
+++ README.gmi
# vostok: simple C++11 Gemini server
-A self-signed certificate is required:
+* Generate self-signed certificate:
```
$ mkdir cert/
$ openssl req -newkey rsa:4096 -nodes -keyout cert/server.key -x509 -days 36500 -out cert/server.crt
```
-Build and run server:
+* Build and run server:
```
$ make run_server
```
## Tasks
* [?] add test
-* [v] redirect "[...]/" to "[...]/index.gmi"
+* [v] redirect "[.../]" to "[...]/index.gmi"
+* [ ] Gemini redirect by symbolic link on the file system
+```
+$ ln -s "gemini://vostok.any-key.press/index.gmi" index.gmi
+$ ls -l index.gmi
+lrwxr-xr-x 1 ar ar 39 Aug 25 13:25 index.gmi -> gemini://vostok.any-key.press/index.gmi
+```
* [ ] syslog(3)
* [ ] mime.types
* [ ] clang-tydi (?)