修改数据路径代码
This commit is contained in:
@@ -7,5 +7,5 @@ services:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ../dist:/usr/share/nginx/html:ro
|
||||
- ../data:/usr/share/nginx/data:ro
|
||||
- ../fiction:/usr/share/nginx/fiction:ro
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
@@ -9,8 +9,8 @@ server {
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
location /data/ {
|
||||
alias /usr/share/nginx/data/;
|
||||
location /novel-data/ {
|
||||
alias /usr/share/nginx/fiction/;
|
||||
charset utf-8;
|
||||
}
|
||||
location /assets/ {
|
||||
|
||||
Reference in New Issue
Block a user