From bc4502b1e47e466412bccde6fdff18e09f40b5fc Mon Sep 17 00:00:00 2001 From: ryoya-hayase Date: Mon, 26 Oct 2026 18:54:31 +0900 Subject: [PATCH] fix: update nginx configuration for SSL and gzip settings --- nginx/weko.conf | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/nginx/weko.conf b/nginx/weko.conf index 08f4494850..6088d29ced 100644 --- a/nginx/weko.conf +++ b/nginx/weko.conf @@ -13,8 +13,7 @@ server { } server { - listen 443; - ssl on; + listen 443 ssl; ssl_protocols TLSv1.3 TLSv1.2; ssl_certificate /etc/nginx/server.crt; ssl_certificate_key /etc/nginx/server.key; @@ -342,7 +341,7 @@ server { gzip on; gzip_disable "msie6"; - gzip_http_version 1.1; + gzip_http_version 1.0; # 前段のプロキシは既定で HTTP/1.0 で転送してくる gzip_comp_level 5; # or anything between 4-6 gzip_min_length 100; gzip_proxied any; @@ -352,7 +351,6 @@ server { application/json application/ld+json application/manifest+json - application/octet-stream application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject @@ -368,7 +366,6 @@ server { image/x-icon text/cache-manifest text/css - text/html text/javascript text/plain text/vcard