explain caddy config

This commit is contained in:
Kulvir Singh
2025-11-02 14:50:57 +05:30
parent d22f33469e
commit af6e365459
2 changed files with 153 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
pokemon.domain-name.com {
pokemon.domain.com {
reverse_proxy :8080 # Assuming the application is running at PORT 8080
handle_errors {
@@ -10,6 +10,6 @@ pokemon.domain-name.com {
}
# just domain name looks much cleaner
www.pokemon.domain-name.com {
redir pokemon.domain-name.com{uri}
www.pokemon.domain.com {
redir pokemon.domain.com{uri}
}