|
|
@@ -60,6 +60,12 @@ http {
|
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
|
}
|
|
|
|
|
|
+ # Livewire update endpoint (POST /livewire/update or any /livewire/* path)
|
|
|
+ # must be routed to PHP, not caught by static file rules.
|
|
|
+ location ~ ^/livewire(/|$) {
|
|
|
+ try_files $uri $uri/ /index.php?$query_string;
|
|
|
+ }
|
|
|
+
|
|
|
# PHP-FPM 处理
|
|
|
location ~ \.php$ {
|
|
|
fastcgi_pass 127.0.0.1:9000;
|