caddy
This commit is contained in:
parent
4c40725d25
commit
1e90e699d7
1 changed files with 10 additions and 0 deletions
10
Caddyfile
Normal file
10
Caddyfile
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
:{$PORT:3000} {
|
||||||
|
log {
|
||||||
|
format json
|
||||||
|
}
|
||||||
|
rewrite /health /*
|
||||||
|
root * /app/dist
|
||||||
|
encode gzip
|
||||||
|
file_server
|
||||||
|
try_files {path} /index.html
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue