core: nginx 开启 gzip 压缩

This commit is contained in:
bin456789 2024-09-18 22:29:05 +08:00
parent cd0eb43863
commit 76c3ab01a2
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -3,11 +3,19 @@ server {
listen [::]:80;
root /;
gzip on;
gzip_types text/plain;
location = / {
try_files /logviewer.html 404;
}
location = /reinstall.log {
types {
text/plain log;
}
try_files $uri 404;
}