core: nginx 开启 gzip 压缩
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user