pages-server/server
Jean-Marie 'Histausse' Mineau 03881382a4 Add option to disable DNS ACME provider (#290)
This PR add the `$NO_DNS_01` option (disabled by default) that removes the DNS ACME provider, and replaces the wildcard certificate by individual certificates obtained using the TLS ACME provider.

This option allows an instance to work without having to manage access tokens for the DNS provider. On the flip side, this means that a certificate can be requested for each subdomains. To limit the risk of DOS, the existence of the user/org corresponding to a subdomain is checked before requesting a cert, however, this limitation is not enough for an forge with a high number of users/orgs.

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/290
Reviewed-by: Moritz Marquardt <momar@noreply.codeberg.org>
Co-authored-by: Jean-Marie 'Histausse' Mineau <histausse@protonmail.com>
Co-committed-by: Jean-Marie 'Histausse' Mineau <histausse@protonmail.com>
2024-04-18 17:05:20 +00:00
..
acme Add option to disable DNS ACME provider (#290) 2024-04-18 17:05:20 +00:00
cache Add config file and rework cli parsing and passing of config values (#263) 2024-02-15 16:08:29 +00:00
certificates Add option to disable DNS ACME provider (#290) 2024-04-18 17:05:20 +00:00
context Security Fix: clean paths correctly to avoid circumvention of BlacklistedPaths 2023-08-27 10:13:15 +02:00
database Add option to disable DNS ACME provider (#290) 2024-04-18 17:05:20 +00:00
dns Add config file and rework cli parsing and passing of config values (#263) 2024-02-15 16:08:29 +00:00
gitea Add option to disable DNS ACME provider (#290) 2024-04-18 17:05:20 +00:00
handler FIX blank internal pages (#164) (#292) 2024-02-26 22:21:42 +00:00
upstream FIX blank internal pages (#164) (#292) 2024-02-26 22:21:42 +00:00
utils Security Fix: clean paths correctly to avoid circumvention of BlacklistedPaths 2023-08-27 10:13:15 +02:00
version Release via CI (#94) 2022-06-14 20:35:11 +02:00
startup.go Add option to disable DNS ACME provider (#290) 2024-04-18 17:05:20 +00:00