codebrag
codebrag copied to clipboard
HTTP ERROR 404 when prefixing application-url
Hi codebrag team!
Thank you for this awesome software, I am really excited to try it out within my team :).
I have an issue with launching the server and accessing it with a prefix...maybe it's not supported currently? In any case, here is what I am trying to do:
web-server-port = 9990
application-url = "http://localhost:9990/codebrag"
And then try to access to the url but it says that /codebrag
is not found
Do you know a workaround for this? We have a few applications already on our server and can't really use directly a specific port.
Thanks!
Edit 'codebrag.conf' codebrag { data-dir = "./data" repos-root = "./repos" send-anon-usage-data = false web-server-port = 8080 application-url = "http://localhost:8080"
# number of people who need to review a commit (1, 2, ..., all)
required-reviewers-count = 1
# Period during within the repositories won't be fetch
pull-sleep-period {
enabled = false
from = 22
to = 5
}
}
Thanks @gmkumar2005!
I am a little bit confused by how it would add a prefix to the url this way? I edited this file to change the port and it works fine, the only thing is that I also need to add a prefix so instead of going to "my.domain.com:5555" people can type "my.domain.com/codebrag" and my oauth proxy can redirect to "127.0.0.1:5555/codebrag".
It's basically a constraint we have with oauth_proxy and that's great if you have a built in way of handling prefixes.
Thanks again!