|
@@ -44,6 +44,11 @@ server {
|
|
|
location / {
|
|
location / {
|
|
|
try_files $uri $uri/ /index.php?$args;
|
|
try_files $uri $uri/ /index.php?$args;
|
|
|
|
|
|
|
|
|
|
+ location ~* ^/livewire-[^/]+/.*\.(js|css)$ {
|
|
|
|
|
+ expires off;
|
|
|
|
|
+ try_files $uri $uri/ /index.php?$query_string;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
location ~* ^.+\.(ogg|ogv|svg|svgz|swf|eot|otf|woff|woff2|mov|mp3|mp4|webm|flv|ttf|rss|atom|jpg|jpeg|gif|png|webp|ico|bmp|mid|midi|wav|rtf|css|js|jar)$ {
|
|
location ~* ^.+\.(ogg|ogv|svg|svgz|swf|eot|otf|woff|woff2|mov|mp3|mp4|webm|flv|ttf|rss|atom|jpg|jpeg|gif|png|webp|ico|bmp|mid|midi|wav|rtf|css|js|jar)$ {
|
|
|
expires 30d;
|
|
expires 30d;
|
|
|
fastcgi_hide_header "Set-Cookie";
|
|
fastcgi_hide_header "Set-Cookie";
|