Spaces:
Running
Running
File size: 1,752 Bytes
baf7f39 7043f4d 7b147f0 784f622 7b147f0 7043f4d baf7f39 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
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'; # 强制下载
}
location /buyinfo.json {
alias /usr/share/nginx/html/buyinfo.json; # 指定jmComic.json的路径
default_type application/json; # 设置返回类型为JSON
}
location /host.json {
alias /usr/share/nginx/html/host.json; # 指定路径
default_type application/json; # 设置返回类型为JSON
}
location /pay.json {
alias /usr/share/nginx/html/pay.json; # 指定路径
default_type application/json; # 设置返回类型为JSON
}
location /update.json {
alias /usr/share/nginx/html/update.json; # 指定路径
default_type application/json; # 设置返回类型为JSON
}
}
} |