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.
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 pathexample.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.