Trevor Slocum
c026f5c7b1
Clarify IPv4 and IPv6 configuration
4 weeks ago
Ivan Vilata-i-Balaguer
668e099ffa
Add quotes for IPv6 address configuration example
...
Since leaving the quotes out in the config file causes the confusing "did not
find expected key" error, so do not assume that the user is familiar enough
with YAML syntax as to identify the issue.
4 weeks ago
Ivan Vilata-i-Balaguer
066fe276eb
Fix listening on literal IPv6 address
...
Those contain colons, so splitting by colons would break the address in the
middle. Instead, use a regular expression to split host and port at the last
colon, if followed by port digits and the end of the string.
Also, document the syntax for listening on literal IPv4 and IPv6 addresses.
4 weeks ago
Trevor Slocum
24f3196a61
Add configuration option ShowImages
...
When enabled, clients accessing gemini pages via HTTPS will see links to
images as inline images.
Resolves #13 .
2 years ago
Trevor Slocum
0c4c7e8ecb
Fix sending custom content types to HTTP clients
...
Resolves #14 .
2 years ago
Trevor Slocum
12aa024671
Downgrade dependency yaml to v2
...
v3 has not been released yet.
2 years ago
tslocum
30d4097086
Merge pull request 'Update gmitohtml to 1.0.5 to support images' ( #12 ) from f/twins:update-dependencies into master
...
Reviewed-on: #12
2 years ago
Aaron Fischer
5632fd1ba4
Update gmitohtml to 1.0.5 to support images
2 years ago
Trevor Slocum
3500533ecf
Update StyleSheet implementation
2 years ago
tslocum
9cd235c469
Merge pull request 'Add support for custom CSS files' ( #11 ) from f/twins:custom-css into master
...
Reviewed-on: #11
2 years ago
f
2252fc45dd
Merge branch 'master' into custom-css
2 years ago
Aaron Fischer
daf4b2b1a2
gofmt
2 years ago
Aaron Fischer
8654f0ca1b
Rename to StyleSheet and precache CSS bytes
...
If there is a custom CSS file specified and usable (it exists and is
readable), we precache it on server startup (for every host). This
increase the request performance and reduce IO-load slightly.
2 years ago
Aaron Fischer
83453281bc
Add support for custom CSS files
...
Specify the ```styles``` config option for a host and point to a
valid CSS file to use this instead of the default one. This fixes #9 .
2 years ago
Trevor Slocum
f8a14016f0
Update certificate generation command
2 years ago
Trevor Slocum
cd85204680
Migrate to code.rocketnine.space
2 years ago
Trevor Slocum
4f0c9f2c39
Update dependencies
...
Resolves !2 .
2 years ago
Trevor Slocum
bd43e7ebfd
Merge branch 'tls1.2' into 'master'
...
Set minimum TLS version to 1.2
See merge request tslocum/twins!1
2 years ago
Paper
2cc9e0d2c1
Set minimum TLS version to 1.2
2 years ago
Trevor Slocum
207e7c4030
Include client certificate hashes in FastCGI requests
2 years ago
Trevor Slocum
74dc22338e
Support HEAD requests
3 years ago
Trevor Slocum
055dd08886
Fix serving FastCGI requests
3 years ago
Trevor Slocum
a96e2123fb
Require trailing slash when specifying directory path
3 years ago
Trevor Slocum
3a46bd1de8
Fix resolving regexp path
3 years ago
Trevor Slocum
faab032d45
Support directory listing via HTTPS
3 years ago
Trevor Slocum
8d6cb6527e
Serve Gemini content via HTTPS
3 years ago
Trevor Slocum
19b89bfd9e
Add configuration option Lang
3 years ago
Trevor Slocum
f91f42464d
Use case insensitive comparison when matching vhost
3 years ago
Trevor Slocum
c64a59c44e
Support redirecting to path or URL
3 years ago
Trevor Slocum
58a4ecd958
Rename HiddenFiles as Hidden
3 years ago
Trevor Slocum
cac10df2f6
Support custom content types
3 years ago
Trevor Slocum
3cb855acfa
Send correct status code when a file is not found
3 years ago
Trevor Slocum
74fa3d5c2e
Print access log by default
3 years ago
Trevor Slocum
be89b61596
Rename ListDirectory as List
3 years ago
Trevor Slocum
7ed7291c6b
Fix log entry for requests with blank path
3 years ago
Trevor Slocum
7820dd9723
Support logging requests
...
Resolves #6 .
3 years ago
Trevor Slocum
335a90c5c5
Allow specifying default host and path configuration
3 years ago
Trevor Slocum
4f4e2a8cbe
Do not follow symbolic links by default
...
Resolves #4 .
3 years ago
Trevor Slocum
51fd59b24f
Do not serve hidden files and directories by default
3 years ago
Trevor Slocum
05da75b22b
Fix cache attribute parsing
3 years ago
Trevor Slocum
8d02c6d779
Add cache attribute
3 years ago
Trevor Slocum
e8af67c813
Add proposals doc
3 years ago
Trevor Slocum
e3aeb18053
Add SaneEOL configuration option
3 years ago
Trevor Slocum
0b744eba7e
Redirect requests with invalid trailing slash
3 years ago
Trevor Slocum
2b7e21666b
Include size of response body in media type header
3 years ago
Trevor Slocum
dc58324dff
Fix resource path resolution
3 years ago
Trevor Slocum
8e2e404a81
Send headers to FastCGI server
3 years ago
Trevor Slocum
5e9515ff09
Support FastCGI
3 years ago
Trevor Slocum
47450eddfe
Add Gemini page links
3 years ago
Trevor Slocum
9c7ee8bb10
Support reloading configuration file
...
Resolves #2 .
3 years ago