Make things workable with a reverse proxy in front.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4858 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2024-02-18 15:27:44 +00:00
parent eacca9d2ab
commit 75cb9f7fd2
2 changed files with 6 additions and 5 deletions

View File

@ -620,7 +620,7 @@ static void _httpd_endpoint_static_stat(tf_task_t* task, const char* path, int r
static void _httpd_endpoint_static(tf_http_request_t* request)
{
if (_httpd_redirect(request))
if (strncmp(request->path, "/.well-known/", strlen("/.well-known/")) && _httpd_redirect(request))
{
return;
}