--- a/src/server/daemon/location.c Mon Feb 23 22:28:44 2026 +0100 +++ b/src/server/daemon/location.c Tue Feb 24 12:28:58 2026 +0100 @@ -226,7 +226,6 @@ } else { return regexec(&loc->regex, uri.ptr, WS_LOCATION_NMATCH, match, 0) == 0; } - return 0; } WSLocationConfig* location_match_and_get_config(pool_handle_t *pool, Request *rq, cxstring uri, WSLocation *loc) {