chore: move data path
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
uetchy 2022-06-25 16:00:17 +09:00
parent cdebeb09a4
commit aca29317c6
4 changed files with 9 additions and 2 deletions

View File

@ -5,7 +5,6 @@
## Build
```bash
n 15
yarn build
```

View File

@ -12,6 +12,7 @@ services:
- "./data:/var/www/html/_:ro"
labels:
com.centurylinklabs.watchtower.enable: "true"
cron:
image: ghcr.io/uetchy/uechi.io
command: /usr/sbin/crond -d 8 -f

View File

@ -6,3 +6,5 @@ services:
build: .
ports:
- "8080:80"
volumes:
- "./data:/var/www/html/_:ro"

View File

@ -35,7 +35,7 @@ http {
location / {
index index.html;
try_files $uri $uri.html $uri/index.html =404;
try_files $uri $uri.html $uri/index.html @fallback;
}
location = / {
@ -43,6 +43,11 @@ http {
rewrite / /TERMINAL last;
}
}
location @fallback {
root /var/www/html/_;
try_files $uri $uri.html $uri/index.html =404;
}
}
server {