chore: hoppscotch-sh-admin supports std http ports

This commit is contained in:
Balu Babu
2023-11-13 02:14:43 +05:30
parent 28059ddc60
commit f1e4ac7fc4
5 changed files with 11 additions and 7 deletions

View File

@@ -18,4 +18,5 @@ WORKDIR /site
COPY packages/hoppscotch-sh-admin/Caddyfile /etc/caddy/Caddyfile
COPY --from=builder /usr/src/app/packages/hoppscotch-sh-admin/dist/ .
EXPOSE 8080
EXPOSE 80
EXPOSE 3100

View File

@@ -1,4 +1,4 @@
:8080 {
:80 :3100 {
try_files {path} /
root * /site/sh-admin-multiport-setup
file_server

View File

@@ -1,5 +1,5 @@
:8080 {
try_files {path} /
:80 :3100 {
try_files {path} /admin*
root * /site/sh-admin-subpath-access
file_server
}