Today, the company launched a hand tour, but need to deploy a download server, in order to let users through the Internet access, or scan code download! Then you need to deploy the app download server:
Environment: Nginx has been deployed, based on the virtual host
Add a virtual host directly, the configuration file is as follows
server {listen 8085; #端口 server_name localhost; #服务名 root d:/web/; #显示的根索引目录 AutoIndex on; #开启索引功能 autoindex_exact_size off; # Close Calculation file exact size (unit bytes), only show approximate size (in kilobytes, MB, GB) autoindex_localtime on; # Show native time rather than GMT}
Start the Nginx server to download the
Now we can use the address to generate the QR code.
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/96/AB/wKioL1kkKd-gNcaoAAB_toHHDfs773.png-wh_500x0-wm_ 3-wmp_4-s_3894154296.png "title=" 123.png "alt=" Wkiol1kkkd-gncaoaab_tohhdfs773.png-wh_50 "/>
This allows the user to download the QR code
This article is from the "Little Rookie" blog, please be sure to keep this source http://baishuchao.blog.51cto.com/12918589/1928770
Download server based on Nginx deployment app