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

Enable optionally serving applications under subpath/path prefix #42

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

tgerakitis
Copy link

@tgerakitis tgerakitis commented Oct 7, 2020

By adding an alias to the nginx default site configuration we can define an environment variable PATH_PREFIX that enables the application to be accessed by the provided value.

The change is very small and simple, I also extended the docs accordingly.
If it is bothersome that the app can be accessed in two paths now when left unconfigured namely by root example.com:5800/ & the default unconfigured path example.com:5800/sed_path_prefix/, then I can simply comment out the lines and remove the comments when the ENV is set.

This PR consists of three commits I'd like to have squashed into one.

ps: this is my first merge request on github pls tell me if I need to fix anything.

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.

1 participant