From 43d78dc37d01ee3c3bf6067cd6e25847e50510e7 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 02292f2b..e380e524 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;