From 6f6d8901ec11d25e2b22be3b7f5a9f284e273bde Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Mon, 19 Jan 2026 14:27:31 +0100 Subject: [PATCH] Route /api requests to Laravel in nginx --- docker/nginx/default.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf index 02292f2..e380e52 100644 --- a/docker/nginx/default.conf +++ b/docker/nginx/default.conf @@ -15,6 +15,10 @@ server { try_files $uri $uri/ /index.php?$query_string; } + location ^~ /api/ { + try_files $uri /index.php?$query_string; + } + location ~ \.php$ { include fastcgi_params; fastcgi_pass app:9000;