chore: made changes to hoppscotch-aio for subpath access
This commit is contained in:
@@ -10,6 +10,6 @@
|
||||
file_server
|
||||
}
|
||||
|
||||
:8080 {
|
||||
:80 {
|
||||
respond 404
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user