]> jfr.im git - uguu.git/blobdiff - templates/nginx_confs/X.Y.conf
Update README.md
[uguu.git] / templates / nginx_confs / X.Y.conf
index a66b2661026c943e1df4ead7b67bc63b6fb2f68c..3160d269f848bdae2fe71da0697fc49f5c9c45da 100644 (file)
@@ -7,8 +7,6 @@ ssl_certificate_key /etc/letsencrypt/live/X.Y/privkey.pem;
 ssl_protocols TLSv1.2 TLSv1.3;
 ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
 ssl_ecdh_curve secp384r1;
-ssl_buffer_size 2k;
-ssl_session_tickets off;
 
 root /var/www/uguu/dist/;
 autoindex              off;
@@ -16,9 +14,9 @@ access_log      off;
 index index.html index.php;
 etag on;
 
-location ~* \.(?:css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf)$ {
-add_header        Cache-Control "public";
-expires           30d;
+location ~* \.(css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf|x-icon|avif|webp|apng|min.js|min.css)$ {
+add_header Cache-Control "public";
+expires 30d;
 }
 
  gzip on;