hongwei.chen
83b03ab6f6
feat: allow HTTP server to serve content directly without HTTPS redirect
...
- Modify SetupHTTPACMEChallengeServer to accept enableRedirect parameter
- When ENABLE_HTTP_SERVER is true, HTTP requests are served directly instead of redirecting to HTTPS
- HTTP server now uses the same handler as HTTPS server for content requests
- ACME challenges are still handled properly on HTTP port
2025-07-13 01:51:25 +08:00
crapStone
7e80ade24b
Add config file and rework cli parsing and passing of config values ( #263 )
...
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/263
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-02-15 16:08:29 +00:00
6543
0adac9a5b1
fix http -> https redirect and add integration tests for it ( #184 )
...
and more logging
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/184
2023-02-14 02:23:28 +00:00
6543
9a3d1c36dc
Document more flags & make http port customizable ( #183 )
...
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/183
2023-02-13 20:14:45 +00:00
6543
5753f7136d
Move acmeClient creation into own file & struct ( #179 )
...
get rid of gobal vars and make make functions with less args :)
tldr: collect funcs and create a own ACME client to manage that stuff
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/179
2023-02-11 02:29:08 +00:00