Files
self-host-101/caddy/pokemon.Caddyfile

16 lines
321 B
Plaintext
Raw Normal View History

2025-11-02 14:50:57 +05:30
pokemon.domain.com {
2025-10-15 13:45:16 +05:30
reverse_proxy :8080 # Assuming the application is running at PORT 8080
handle_errors {
root * /var/www
rewrite * /error.html
templates
file_server
}
}
# just domain name looks much cleaner
2025-11-02 14:50:57 +05:30
www.pokemon.domain.com {
redir pokemon.domain.com{uri}
2025-10-15 13:45:16 +05:30
}