1
0
mirror of https://github.com/bin456789/reinstall.git synced 2025-08-06 09:21:51 +00:00

core: nginx 开启 gzip 压缩

This commit is contained in:
bin456789
2024-09-18 22:29:05 +08:00
parent cd0eb43863
commit 76c3ab01a2

@@ -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;
}