Spaces:
Running
Running
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 | |
} | |
} | |
} |