reinstall/logviewer-nginx.conf
2024-10-12 23:07:01 +08:00

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