mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-18 12:36:26 +08:00
25 lines
346 B
Plaintext
25 lines
346 B
Plaintext
server {
|
|
listen @WEB_PORT@;
|
|
listen [::]:@WEB_PORT@;
|
|
root /;
|
|
|
|
gzip on;
|
|
gzip_types text/plain;
|
|
|
|
|
|
location = / {
|
|
try_files /logviewer.html 404;
|
|
}
|
|
|
|
location = /reinstall.log {
|
|
types {
|
|
text/plain log;
|
|
}
|
|
|
|
try_files $uri 404;
|
|
}
|
|
|
|
location / {
|
|
return 404;
|
|
}
|
|
} |