pid /tmp/nginx.pid; events { worker_connections 1024; } http { server { listen 7860; server_name localhost; location /jmComic.json { alias /usr/share/nginx/html/jmComic.json; # 指定jmComic.json的路径 default_type application/json; # 设置返回类型为JSON } location /iizhi.json { alias /usr/share/nginx/html/iizhi.json; # 指定jmComic.json的路径 default_type application/json; # 设置返回类型为JSON } location /booruSama.json { alias /usr/share/nginx/html/booruSama.json; # 指定jmComic.json的路径 default_type application/json; # 设置返回类型为JSON } location /bit.apk { alias /usr/share/nginx/html/bit.apk; # 指定 APK 文件的路径 default_type application/vnd.android.package-archive; # 设置返回类型为 APK add_header Content-Disposition 'attachment; filename=bit.apk'; # 强制下载 } } }