|
@@ -49,9 +49,13 @@ http {
|
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- # Livewire serves versioned assets through Laravel routes such as
|
|
|
|
|
- # /livewire-bb2e0a45/livewire.js, so these must not be swallowed by
|
|
|
|
|
- # the generic static .js/.css location below.
|
|
|
|
|
|
|
+ # Livewire serves assets through Laravel routes such as
|
|
|
|
|
+ # /livewire/livewire.min.js or /livewire-bb2e0a45/livewire.js, so these
|
|
|
|
|
+ # must not be swallowed by the generic static .js/.css location below.
|
|
|
|
|
+ location ^~ /livewire/ {
|
|
|
|
|
+ try_files $uri $uri/ /index.php?$query_string;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
location ^~ /livewire- {
|
|
location ^~ /livewire- {
|
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
|
}
|
|
}
|