split caddyfile into prod and debug

pull/2/head
Tudor Roman 2024-02-03 12:53:46 +01:00
parent c3805a8864
commit 3840bc7a4b
Signed by: tudor
SSH Key Fingerprint: SHA256:3CwS9plgXBecpXImPGxDIaSktUXBejbV/zerZMqzzBk
2 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@
auto_https off
}
http://localhost:8080, http://tudorr.ro {
http://tudorr.ro {
root * /usr/share/caddy
file_server
log

5
Caddyfile.debug Normal file
View File

@ -0,0 +1,5 @@
http://:3000 {
root * _site/
file_server
encode zstd gzip
}