From 177c316b440d088eacba32b72228322b9e0e8670 Mon Sep 17 00:00:00 2001 From: Crimson Date: Wed, 3 Jun 2026 06:26:57 +0500 Subject: [PATCH] Route Livewire assets through Laravel --- nginx/nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 03120a3..45e52da 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -12,6 +12,14 @@ server { add_header Content-Type text/plain; } + location ^~ /livewire { + try_files $uri $uri/ /index.php?$query_string; + } + + location ^~ /flux { + try_files $uri $uri/ /index.php?$query_string; + } + location / { try_files $uri $uri/ /index.php?$query_string; }