Commit Graph

13 Commits

Author SHA1 Message Date
yas-nyan
86763bd3aa
Feature: TLS and HTTP/2 (#39) 2022-03-27 02:47:16 +08:00
Tim Small
c67b8ec91d
Support systemd socket activation (#35)
* Support systemd socket activation

If the process has been started with systemd socket activation
configured, then serve requests on the passed-in socket instead of
attempting to bind to an address.

* Add example systemd unit files.

Add example systemd unit files which make use of systemd's security
facilities, and also allow binding to port 80 whilst running as an
unpriviliged process (using systemd socket activation).
2022-01-18 15:47:32 +08:00
Maddie Zhan
7204ae2e19 Embed default assets 2021-09-17 21:06:00 +08:00
Maddie Zhan
c755a05b61 Update dependencies 2021-03-18 18:20:08 +08:00
Maddie Zhan
e2d2f66e97 Remove web server logger
Fixes #18
2021-03-18 18:17:20 +08:00
Enrico
fe438802ca
Fix missing format calls and minor error handling (#17) 2020-12-16 17:42:24 +08:00
Maddie Zhan
a0a6db8597 Add Proxy Protocol support
Closes #9
2020-08-19 17:02:37 +08:00
Maddie Zhan
f884386a54 Support HEAD method for all endpoints via middleware 2020-08-17 15:23:54 +08:00
Maddie Zhan
6970d87166 Return 404 for non-existing files instead of 403 2020-08-15 23:13:23 +08:00
Xirui Zhao
2958853375
Support HTTP HEAD method (#7) 2020-08-15 18:09:48 +08:00
Maddie Zhan
bd721cdb07 Allow user to specify assets path in settings
Fixes #2
2020-06-16 16:24:29 +08:00
Fazal Majid
8971ba8117
Handle URLs with an extraneous /backend/ prefix (#1)
* handle /backend in URLs as speedtest_worker.js is set up to do so

* fixed dropped slashes
2020-06-08 11:43:51 +08:00
Maddie Zhan
fad1302a73 Migrate code from Go branch to new repo 2020-06-02 18:10:50 +08:00