Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
scripts to build
Browse files Browse the repository at this point in the history
  • Loading branch information
webysther committed Jul 17, 2023
1 parent 6315e90 commit 3f684f0
Show file tree
Hide file tree
Showing 5 changed files with 563 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .docker/Caddyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
:80 {
handle_path /api/* {
reverse_proxy localhost:3170
}

redir VITE_ADMIN_BASE_URL VITE_ADMIN_BASE_URL/
handle_path VITE_ADMIN_BASE_URL/* {
try_files {path} /
root * /app/packages/hoppscotch-sh-admin/dist
file_server
}

handle {
try_files {path} /
root * /app/packages/hoppscotch-selfhost-web/dist
file_server
}

log {
output stdout
level ERROR
}
}
Loading

0 comments on commit 3f684f0

Please sign in to comment.