mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Merge pull request #1596 from TorstenDittmann/fix-ssl-acme-challeng-check
fix(ssl): fix check for auto generation
This commit is contained in:
commit
636e6bc8dc
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ App::init(function ($utopia, $request, $response, $console, $project, $consoleDB
|
|||
if (empty($domain->get()) || !$domain->isKnown() || $domain->isTest()) {
|
||||
$domains[$domain->get()] = false;
|
||||
Console::warning($domain->get() . ' is not a publicly accessible domain. Skipping SSL certificate generation.');
|
||||
} elseif(str_ends_with($request->getURI(), '/.well-known/acme-challenge')) {
|
||||
} elseif(str_starts_with($request->getURI(), '/.well-known/acme-challenge')) {
|
||||
Console::warning('Skipping SSL certificates generation on ACME challenge.');
|
||||
} else {
|
||||
Authorization::disable();
|
||||
|
|
|
|||
Loading…
Reference in a new issue