Commit graph

10 commits

Author SHA1 Message Date
Igor Chubin
f27bf2d5b3 Move routing to separate module 2022-11-29 21:24:53 +01:00
Igor Chubin
ec264850a4 Add /:stats support 2022-11-27 22:16:32 +01:00
Igor Chubin
762e0fe8f0 Move RequestProcessor to a struct 2022-11-27 15:51:41 +01:00
Igor Chubin
2c367d0157 Return err from ProcessRequest instead of panic 2022-11-20 17:55:17 +01:00
Igor Chubin
ff4f258f2d Don't redirect if TLS is already in use 2022-11-20 14:00:59 +01:00
Igor Chubin
bef93212c3 Add https support 2022-11-20 10:03:31 +01:00
Igor Chubin
647127edc4 Cache 404 answers (#646) 2021-11-07 11:40:06 +01:00
Igor Chubin
85d7d029a2 Add autoredirect for http to https connections (browser-only) (#648, #652) 2021-11-01 12:27:42 +01:00
Igor Chubin
ef7d46723d dont cache cyclic requests (#460) 2020-06-08 07:26:38 +02:00
Igor Chubin
e34dbc0f8b srv.go: peak handling 2020-05-30 18:14:17 +02:00