mox/http
Mechiel Lukkien 0fbf24160c
add a handler for the acme http-01 validiation mechanism to all plain http (non-tls) webservers (ports), not only to the one listening on port 80
because this mechanism is most needed behind a reverse proxy, where acme
tls-alpn-01 won't work (because the reverse proxy won't pass on the alpn
extensions). if that's the case, there is obviously a webserver on port 443.
and it likely also running on port 80. so before this change, if tls-alpn-01
isn't available, http-01 also wasn't available, leaving no validation
mechanisms.

for issue #218 by mgkirs, thanks for reporting and details. hope this helps.
2024-10-10 14:04:13 +02:00
..
atime.go make mox compile on windows, without "mox serve" but with working "mox localserve" 2023-10-14 10:54:07 +02:00
atime_bsd.go make mox compile on windows, without "mox serve" but with working "mox localserve" 2023-10-14 10:54:07 +02:00
atime_windows.go make mox compile on windows, without "mox serve" but with working "mox localserve" 2023-10-14 10:54:07 +02:00
autoconf.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
autoconf_test.go mox! 2023-01-30 14:27:06 +01:00
favicon.ico don't prevent the html pages to load a favicon, and provide one by default 2024-07-08 21:58:10 +02:00
gzcache.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
mobileconfig.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
mtasts.go use new sherpadoc rename mechanism to remove some typename stuttering 2024-04-19 10:51:24 +02:00
mtasts_test.go mox! 2023-01-30 14:27:06 +01:00
web.go add a handler for the acme http-01 validiation mechanism to all plain http (non-tls) webservers (ports), not only to the one listening on port 80 2024-10-10 14:04:13 +02:00
web_test.go improve http request handling for internal services and multiple domains 2024-05-11 11:13:14 +02:00
webserver.go improve http request handling for internal services and multiple domains 2024-05-11 11:13:14 +02:00
webserver_test.go improve http request handling for internal services and multiple domains 2024-05-11 11:13:14 +02:00