Johann150
548d34d8a8
simplify README structure
...
The document should be easily convertable to text/gemini format.
Level 4 headings are therefore undesirable.
2021-02-19 11:09:43 +01:00
06kellyjac
4ff5352f21
add install notes for nix/NixOS
2021-02-19 09:48:16 +00:00
Johann150
16a9af51b3
update changelog and homepage
2021-02-12 21:53:31 +01:00
Johann150
216797afc7
change homepage
2021-02-12 21:03:20 +01:00
Johann150
7af42a9bd5
make semicolon not a comment
...
This causes issues with MIME media type parameters.
2021-02-12 20:34:03 +01:00
Johann150
7f4d71722d
fix README
2021-02-12 17:50:19 +01:00
Johann150
197e4592b9
use configparser crate
...
This parser can correctly read globs from configuration keys which allows
their use not just in theory in the server logic but in the config file too.
2021-02-12 16:51:42 +01:00
Johann150
fdca530591
allow globs in config file paths
...
The configuration parser will have to be changed again because YAML does not
support asterisks in its key names.
2021-02-12 15:00:29 +01:00
Johann150
49813d0c68
serve hidden files if there is a .meta config for them
2021-02-11 18:46:20 +01:00
Johann150
bd9ed3255a
add central configuration mode
...
also slight correction of the documentation because we are now using YAML
(a space is now required behind the colon)
2021-02-11 09:04:38 +01:00
Johann150
e91c99ddab
adjust configuration format info
...
also corrected some spelling mistakes
2021-02-10 21:38:01 +01:00
Johann150
9d9fb3d31b
resolve merge conflicts
2021-02-09 19:52:29 +01:00
Johann150
03325ba1a4
add flag for only TLSv1.3
...
closes #12
2021-02-09 14:45:47 +01:00
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