Xiaomi Routing and Xiaomi Route mini in essence, the gap is on the 1T hard disk, the other is not significantly different, but the function is much worse, such as: Millet routing has its own lamp mode, and Xiaomi Route Mini does not, in other words, this function is castrated, Careful study on the millet routing mini has been castrated function more than this, if you are confident enough, I believe that the Xiaomi routing Mini can achieve some of the features of millet routing. A few days ago started a mini (699 mi route for a router price is indeed a bit expensive), own a 500G hard disk, below and everyone to share the mini on the building site, FTP.
First, the router will be able to turn on SSH permissions, otherwise it cannot continue
We go through SSH remote into Xiaomi router mini
Then vi/etc/sysapihttpd/sysapihttpd.conf
Join in the penultimate line
server {
Listen 43999;
server_name _;
Access_log off;
Location/{
root/extdisks/sda1;
Index index.html index.htm;
}
Error_page 404/404.html;
Error_page 502 503 504/50x.html;
Location =/50x.html {
root HTML;
}
}
For example, the red circle out of the paragraph I added myself. root/extdisks/sda1; After this line is added is the path of the website, I was placed on the root of the USB flash drive, so it is/extdisks/sda1. To make changes according to your own situation.
Then restart the web, load the new configuration
Finally in the browser inside the test open, you can see their new website.
After it is set up, you also need to modify the firewall to access the external network. Also note that the family network upload broadband is relatively small, if the building of a lot of site content, will lead to open more slowly outside, which will also affect their local network.
Xiaomi Router Mini to build a personal static website method