Skip to content

feat: configurable basepath - #109

Draft
ItzDerock wants to merge 1 commit into
mainfrom
feature/subpath-support
Draft

feat: configurable basepath#109
ItzDerock wants to merge 1 commit into
mainfrom
feature/subpath-support

Conversation

@ItzDerock

Copy link
Copy Markdown
Collaborator

Fixes #102

Adds a configurable environment variable BASEPATH that can be set.

docker run --rm -p 8080:80 -e BASEPATH="/chatpadai" chatpadai

Note that the docker container will still serve the files at the root, you will need to configure another reverse-proxy. This just makes the app aware of the basepath so it can properly fetch the config and other assets.

@ItzDerock
ItzDerock marked this pull request as draft February 5, 2024 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for reverse proxy

1 participant