Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Deploy app download server based on nginx

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Today, the company launched a mobile game, but need to deploy a download server, in order to allow users to access through the Internet, or scan the code to download! Therefore, you need to deploy the app download server:

Environment: nginx has been deployed, based on virtual host

Just add a virtual host; the configuration file is as follows

Server {listen 8085; # port server_name localhost; # service name root dvg webbank; # displayed root index directory autoindex on; # enables indexing function autoindex_exact_size off; # turns off the exact size of the calculation file (in bytes), and only shows the approximate size (in kb, mb, gb) autoindex_localtime on # display local time instead of GMT time}

Start the nginx server and download it.

Now you can use the address to generate the QR code.

In this way, users can download through the QR code.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report