Spaces:
Running
Running
rogerxavier
commited on
Commit
•
784f622
1
Parent(s):
4084111
Update nginx.conf
Browse files- nginx.conf +18 -0
nginx.conf
CHANGED
@@ -29,6 +29,24 @@ http {
|
|
29 |
add_header Content-Disposition 'attachment; filename=bit.apk'; # 强制下载
|
30 |
}
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
|
34 |
|
|
|
29 |
add_header Content-Disposition 'attachment; filename=bit.apk'; # 强制下载
|
30 |
}
|
31 |
|
32 |
+
location /buyinfo.json {
|
33 |
+
alias /usr/share/nginx/html/buyinfo.json; # 指定jmComic.json的路径
|
34 |
+
default_type application/json; # 设置返回类型为JSON
|
35 |
+
}
|
36 |
+
location /host.json {
|
37 |
+
alias /usr/share/nginx/html/host.json; # 指定路径
|
38 |
+
default_type application/json; # 设置返回类型为JSON
|
39 |
+
}
|
40 |
+
|
41 |
+
location /pay.json {
|
42 |
+
alias /usr/share/nginx/html/pay.json; # 指定路径
|
43 |
+
default_type application/json; # 设置返回类型为JSON
|
44 |
+
}
|
45 |
+
|
46 |
+
location /update.json {
|
47 |
+
alias /usr/share/nginx/html/update.json; # 指定路径
|
48 |
+
default_type application/json; # 设置返回类型为JSON
|
49 |
+
}
|
50 |
|
51 |
|
52 |
|