Skip to content

Commit

Permalink
add api proxy for production
Browse files Browse the repository at this point in the history
  • Loading branch information
ehanahamed committed Jan 12, 2025
1 parent 0820845 commit 99b183b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/caddy/Caddyfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
quizfreely.com {
reverse_proxy :8080
handle /api/* {
reverse_proxy :8008
}
tls {
dns digitalocean DIGITAL_OCEAN_API_TOKEN_GOES_HERE
}
Expand Down

0 comments on commit 99b183b

Please sign in to comment.