This commit is contained in:
F4ilji
2025-05-26 12:23:46 +05:00
parent 00f475c9c3
commit dc7c18691b
2 changed files with 3 additions and 5 deletions
+1 -4
View File
@@ -103,10 +103,7 @@ server {
deny all;
}
location ~* \.(css|js|jpg|jpeg|png|gif|ico|svg|woff|woff2|ttf|otf)$ {
expires 30d;
add_header Cache-Control "public, no-transform";
}
# Блок для обновления Let's Encrypt (оставить!)
location ^~ /.well-known/acme-challenge/ {
@@ -6,10 +6,11 @@ use App\Containers\Article\Models\Post;
use App\Containers\Article\UI\WEB\Transformers\PostItemResource;
use App\Ship\Enums\CacheKeys;
use App\Ship\Contracts\SeoServiceInterface;
use Carbon\Carbon;
use Illuminate\Support\Facades\Cache;
use Inertia\Inertia;
use Illuminate\Http\Request;
class ShowPostController extends \App\Ship\Controllers\Controller