Commit graph

31 commits

Author SHA1 Message Date
Johann150
8fbbec2b4b
implement simple vhosts
closes #28
2021-02-08 21:52:22 +01:00
Johann150
4ae9cd5826
correct IPv6 syntax
as mentioned by DistroTube this causes problems on some systems
2021-02-08 19:29:40 +01:00
Johann150
2782d744bf
hint at tools directory 2021-02-07 18:15:10 +01:00
Johann150
055dceeece
also check logging environment variable 2021-02-05 08:43:07 +01:00
Johann150
742a423021
merge #16 from Johann150/master
loading metadata from sidecar file
2021-02-05 08:20:19 +01:00
Johann150
c7485f6553
small formatting fix
added some intended line breaks
2021-02-04 18:02:17 +01:00
Johann150
ac7af67cc5
reformat configuration README 2021-02-04 17:53:32 +01:00
Johann150
1c28b37080
add some hints to Readme
addresses #25, closes #26
2021-02-04 10:07:13 +01:00
Johann150
6bbbb5ed4b use sidecar files 2021-01-17 19:43:42 +01:00
Johann150
e68637fb1b fix check_outdated 2021-01-17 19:42:48 +01:00
Johann150
f7ac1fe21b update readme 2021-01-17 19:42:48 +01:00
Johann150
21e16e9a9c update & rephrase readme 2021-01-16 18:24:10 -08:00
Matt Brubeck
dd4be5b9f6 Take port as a separate command-line argument 2021-01-16 10:42:27 -08:00
Johann150
7d10fa3c74 do not serve hidden files 2021-01-05 12:36:50 -08:00
Purexo
d9cc1cfffa provide addr binding with dual-stack mode example 2021-01-03 19:04:19 -08:00
Johann150
e4dacd1315 implement basic directory listing 2020-12-27 11:30:53 -08:00
Matt Brubeck
a3b1e2d0f9 Fix typo 2020-12-22 20:52:22 -08:00
Matt Brubeck
a2f6f5932f Enable logging by default 2020-12-22 17:42:23 -08:00
Matt Brubeck
7a117f3a47 Option to add a language code to text/gemini responses 2020-12-22 16:16:42 -08:00
Matt Brubeck
dfa5dbd971 Use getopts for option parsing 2020-12-22 16:09:05 -08:00
Matt Brubeck
8b418ea09f Fix typo in README 2020-11-20 14:46:50 -08:00
Johann150
7ef914153b
add host and port checks
If the host does not match, the status code 53 should be used. But I am not sure how
to implement this best as the parse_request function only returns a String as error.
2020-11-14 11:15:30 +01:00
Tronje Krabbe
b33417198c Add some simple logging via the env_logger crate 2020-11-09 16:55:09 +01:00
Matt Brubeck
75a0d127a1 Remove duplicated instructions 2020-09-22 10:59:50 -07:00
Matt Brubeck
9b260dfdd2 Link to pre-compiled binary 2020-06-20 10:53:10 -07:00
Matt Brubeck
7899d9addb Change file extension from .gemini to .gmi 2020-06-07 08:53:32 -07:00
Matt Brubeck
039057b8db Improve request parsing 2020-05-22 08:32:44 -07:00
Matt Brubeck
ce570fc8c4 Auto-detect MIME types 2020-05-21 15:29:04 -07:00
Matt Brubeck
6f490876cd Check URL schemes 2020-05-21 10:36:49 -07:00
Matt Brubeck
2b26ed9167 README 2020-05-20 14:51:00 -07:00
Matt Brubeck
1715dfb584 Initial commit 2020-05-16 22:16:46 -07:00