chore: made changes to hoppscotch-aio for subpath access

This commit is contained in:
Balu Babu
2023-11-13 22:42:08 +05:30
parent eb248fa0df
commit a501282f2b
4 changed files with 7 additions and 7 deletions

View File

@@ -10,6 +10,6 @@
file_server
}
:8080 {
:80 {
respond 404
}

View File

@@ -6,7 +6,7 @@
respond 404
}
:8080 {
:80 {
# Serve the `selfhost-web` SPA by default
root * /site/selfhost-web
file_server
@@ -21,7 +21,7 @@
# Handle requests under `/backend*` path
handle_path /backend* {
reverse_proxy localhost:3170
reverse_proxy localhost:8080
}
# Catch-all route for unknown paths, serves `selfhost-web` SPA

View File

@@ -78,8 +78,8 @@ services:
ports:
- "3000:3000"
- "3100:3100"
- "3170:3170"
- "3500:8080"
- "3170:8080"
- "3080:80"
# The preset DB service, you can delete/comment the below lines if
# you are using an external postgres instance

View File

@@ -76,7 +76,7 @@ RUN apk --no-cache add curl
COPY --chmod=755 healthcheck.sh .
HEALTHCHECK --interval=2s CMD /bin/sh ./healthcheck.sh
CMD ["node", "/usr/src/app/aio_run.mjs"]
EXPOSE 3170
EXPOSE 8080
EXPOSE 3000
EXPOSE 3100
EXPOSE 3500
EXPOSE 80