This commit is contained in:
parent
cdebeb09a4
commit
aca29317c6
@ -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
|
||||
|
@ -6,3 +6,5 @@ services:
|
||||
build: .
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- "./data:/var/www/html/_:ro"
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user