Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: configurable basepath #109

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

ItzDerock
Copy link
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