Skip to content

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