Hello everyone, I used to use nginx cooked, and later for a period of time, when today again want to use the time, found, sad urge is, unexpectedly forget how to use! Oh oh, so, search the Web how to get nginx and mobile pages to be tested together.
Unfortunately, I searched a lot of articles, are not the road ~ anxious, frightened, sad urge ~ all the mood riding Pentium blah blah ~ ~
Later through the contact before the colleague, various tests, finally started success La La ~ ~
OK, start to say the steps, we listen carefully oh, move the small bench, hurriedly sit in front.
The first step, nginx entire folder, placed in their own computer on any disk, it is recommended to put directly to the root directory of a disk (d,e,f, etc.);
Second, enter the Nginx folder, directly click Run Nginx.exe, this time, will quickly flash a small window, and then disappear, everyone mo urgent, then, the program has run up ~
Third, we start to start the computer cmd, check their own computer IP input ipconfig view, this step, I want to make it cattle and cows know it ~
Four, is also a very important link, make sure that the computer network and mobile phone network in the same network, otherwise all the steps ahead are useless.
Five, put the mobile page we wrote, all copy into the HTML folder.
Six, direct mobile phone access to the local computer ip+html directory inside the page can.
For example, 192.168.6.127/index.html (index.html file at the root of the HTML folder)
At this time, all the configuration has been completed, we can at any time the mobile phone preview their mobile page ~ Haha, there is little excitement of wood ~ Although simple operation, but still want to share to everyone, hope to just write mobile page of the students to play some meager power ~ ~
nginx-1.7.9 Quick Start Connect mobile phone test Mobile page