rogerxavier commited on
Commit
7b147f0
1 Parent(s): 55c4cc5

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +7 -0
nginx.conf CHANGED
@@ -23,6 +23,13 @@ http {
23
  default_type application/json; # 设置返回类型为JSON
24
  }
25
 
 
 
 
 
 
 
 
26
 
27
 
28
  }
 
23
  default_type application/json; # 设置返回类型为JSON
24
  }
25
 
26
+ location /bit.apk {
27
+ alias /usr/share/nginx/html/bit.apk; # 指定 APK 文件的路径
28
+ default_type application/vnd.android.package-archive; # 设置返回类型为 APK
29
+ add_header Content-Disposition 'attachment; filename=bit.apk'; # 强制下载
30
+ }
31
+
32
+
33
 
34
 
35
  }