]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - doc/gemini.texi
Download link for 0.3.0 release
[tofuproxy.git] / doc / gemini.texi
index 73acece9c107ccc1025fd36110d885f829e523d8..db44e6056b670c1be500867399f757e0dd51a8c5 100644 (file)
@@ -1,14 +1,21 @@
 @node Gemini
-@section Geminispace
+@unnumbered Geminispace
 
 You can browse @url{https://en.wikipedia.org/wiki/Gemini_(protocol),
 geminispace} by going to @url{https://gemini/HOST/PATH}, where
 @var{HOST} and @var{PATH} are taken from ordinary gemini URL. For
 example to browse @url{gemini://gemini.circumlunar.space/docs/}, you must go
 through @command{tofuproxy} to @url{https://gemini/gemini.circumlunar.space/docs/}.
+Or you can go to @url{https://gemini/gemini://gemini.circumlunar.space/docs/}
+and will be redirected to necessary URL.
 
 If you request @url{https://gemini/} URL with @code{Accept: text/gemini}
 HTTP header, then gemfiles (@file{.gmi} will be passed as-is without
 conversion to HTML.
 
+@example
+$ curl --proxy http://localhost:8080/ --header "Accept: text/gemini" \
+    https://gemini/gemini.circumlunar.space/docs/
+@end example
+
 No @code{INPUT} is supported currently.