2023-10-25 14:19:25 +08:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
root /;
|
|
|
|
|
2024-09-18 22:29:05 +08:00
|
|
|
gzip on;
|
|
|
|
gzip_types text/plain;
|
|
|
|
|
|
|
|
|
2023-10-25 14:19:25 +08:00
|
|
|
location = / {
|
|
|
|
try_files /logviewer.html 404;
|
|
|
|
}
|
|
|
|
|
|
|
|
location = /reinstall.log {
|
2024-09-18 22:29:05 +08:00
|
|
|
types {
|
|
|
|
text/plain log;
|
|
|
|
}
|
|
|
|
|
2023-10-25 14:19:25 +08:00
|
|
|
try_files $uri 404;
|
|
|
|
}
|
|
|
|
|
|
|
|
location / {
|
|
|
|
return 404;
|
|
|
|
}
|
|
|
|
}
|