Commit graph

62 commits

Author SHA1 Message Date
Johann150
d10c512253
add ability for preamble to directory list 2021-11-07 15:23:29 +01:00
j-k
0d0c2407ab
update dependencies, add dependabot (#70)
* update dependencies
* add some status badges
    crates.io
    testing status
    dependency status
* add cargo-audit ci
* add dependabot for cargo and github actions updates
2021-10-14 15:28:51 +02:00
MidAutumnMoon
0667bc38e8
Update install instruction of Nix in README 2021-07-28 15:44:44 +08:00
jgart
43c54693a5
Add GNU Guix System 2021-07-08 02:23:23 -04:00
dece
ebd32839de update readme with port check skip info 2021-06-11 07:56:18 +02:00
Johann150
a4bafa2c4e
carefully check unwrap and expect usage
closes #59
I did not find any other cases where the unwrap or expect usage does not depend
on an internal invariant.
2021-05-24 12:36:48 +02:00
Johann150
92673c54fb
explicitly mention the --log-ip flag in README
resolves #58
2021-05-03 18:16:09 +02:00
Johann150
6ce4afb884
fix another spelling mistake 2021-04-08 08:58:52 +02:00
Amplifi-Beats
26bda4be1b Update README.md
Changed the misspelling of current from "currrent" to "current"
2021-04-06 10:53:49 -07:00
Johann150
f290e10b16
Add install guide for Arch Linux (#47) 2021-03-27 20:12:06 +01:00
MidAutumnMoon
c31ab3717d
Add install guide for Arch Linux 2021-03-28 03:01:22 +08:00
Stefano Costa
fa1ed5a21b
change example certificate file names to .der 2021-03-27 19:11:07 +01:00
Johann150
efb59bd224
update readme 2021-03-27 01:03:47 +01:00
Johann150
d24db63583
remove silent flag in favour of RUST_LOG 2021-03-26 20:33:45 +01:00
Johann150
eec057515d
finish up for merge 2021-03-23 23:25:04 +01:00
Johann150
2ed6d2886e
Merge branch 'master' into multi-certs 2021-03-09 21:11:34 +01:00
Johann150
3ffe89b775
make all log lines uniform
Now also if the connection is never established. Use the nonexistent status
code 00 for that.
2021-03-07 00:04:22 +01:00
Johann150
424bed7861
add instructions for multiple certificates
also adjusted the certificate creation example to contain a subject alt name
with a DNS entry. This is strictly speaking not required for the top level
certificate, but it doesn't hurt to include it and makes the example reusable
for all certificates.
2021-03-03 19:41:36 +01:00
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