-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Trouble setting url_path_prefix #133
Comments
I have a same question. How can I run the app as subdirectory? |
Hi, Same here, I'm trying to run wekan (docker container) in a subdirectory. I tried to use Everything works correctly at RU=http://example.com/libreboard/ Kind of working at Adding the PP argument for each RU doesn't change the explained behaviours. |
So first of all, Wekan doesn’t implement any specific logic to serve the application to a given URL, this is all handled by the Meteor framework and the routing package (flow-router). As you noticed @StreakyCobra the I think this is a problem with Flow-router, will investigate. |
It's very nice of you @mquandalle to look at this. I wouldn't be able to do it myself. Many thanks for your help, and your project 😊 |
Hopefully, kadirahq/flow-router#329 should fix the issue. |
Amazing 👍 I'll wait for it to be merged for testing... because I'm not used to JS dev and I don't know how to test it right now. Thanks again (especially for working until 3 am 😉 )! |
I noticed a solution has been merged in |
Here it is! I don’t plan to release a new version in the following days so if you need this feature sooner @StreakyCobra I encourage you to create the container directly from the source. It should be as simple as: $ git clone --depth 1 https://github.com/wekan/wekan.git
$ cd wekan
$ docker build -t StreakyCobra/wekan . |
It's already building ;-) |
Hum, it's locked at:
|
Let me take a look |
Weird, it seems to have been build finally when I pressed CTRL-C... It works right now. Thanks for you amazing work 😄 It's late here, I'll have a closer look next week probably. |
You’re welcome :) |
Hi there,
I would love to set the root_path variable to something like /libreboard so that I can access the project by https://example.com/libreboard but I can't find out how I can achieve this.
I tried to add it to the environments variables when starting a docker container (docker run -d ... -e "ROOT_URL=https://example.com" -e "ROOT_URL_PATH_PREFIX=/libreboard") but this doesn't seem to work, and (docker run -d ... -e "ROOT_URL=https://example.com/libreboard") seems to result in the application thinking that the ROOT_URL=https://example.com/libreboard and the ROOT_URL_PATH_PREFIX=/libreboard.
I'm not familiar with meteor, but would love to run libreboard. Am I missing the correct way to set a url path prefix, or is some code change required to allow setting it.
Wouter
The text was updated successfully, but these errors were encountered: