<Location />
ProxyPass http://127.0.0.1:<your-kanban-port>
ProxyPassReverse http://127.0.0.1:<your-kanban-port>
</Location>
<Location /ws>
ProxyPass http://127.0.0.1:<your-kanban-port>/ws
ProxyPassReverse http://127.0.0.1:<your-kanban-port>/ws
</Location>
<your-apache-ssl-configuration>
<Location /kanban>
ProxyPass http://127.0.0.1:<your-kanban-port>
ProxyPassReverse http://127.0.0.1:<your-kanban-port>
SetOutputFilter proxy-html
ProxyHTMLExtended On
ProxyHTMLInterp On
ProxyHTMLURLMap /1.7.0/assets/js/loading-bar.js PLACEHOLDER_LOADING_BAR
ProxyHTMLURLMap // https://
ProxyHTMLURLMap ^(.*).js https://<external-webspace>.com/modify-kanban-js.php?q=http://127.0.0.1:<your-kanban-port>$1.js R
ProxyHTMLURLMap /script PLACEHOLDER_END_OF_SCRIPT
ProxyHTMLURLMap / /kanban/ c
ProxyHTMLURLMap PLACEHOLDER_END_OF_SCRIPT /script
ProxyHTMLURLMap PLACEHOLDER_LOADING_BAR https://<external-webspace>.com/modify-kanban-js.php?q=http://127.0.0.1:5559/1.7.0/assets/js/loading-bar.js
</Location>
<Location /kanban/ws>
ProxyPass ws://127.0.0.1:5559/ws
</Location>
<your-apache-ssl-configuration>
modify-kanban-js.php
is basically a php script on some external web server, that replaces all common occurrences of paths with your extra path (in this case /kanban) and makes all paths absolute.
You can use this template:
<?php
$jscode = file_get_contents(str_replace("9//","9/",str_replace("http://127.0.0.1:<your-kanban-port>///", "http://",$_GET['q'])));
header('Content-Type: application/javascript');
$jscode = str_replace('"/api', '"/kanban/api', $pwned);
$jscode = str_replace('"/ws/', '"/kanban/ws/', $pwned);
echo $jscode;
?>
The configuration as well as this script was not initially provided by kanban. I've developed them initially for my local installation. I hope to share them helps some people having a good experience with the software.
Therefor: Enjoy!
Hi, I know this question doesn't have anything to do with the kanban board for GitLab issues, but maybe someone here got a quick answer for me.
I'm busy setting up Kanban for my organisation and one thing I can't figure out or find anywhere is when user stories are split up in tasks. I know the development team should do this since the tasks can be technical. My question is; is the task splitting done before moving tasks from the backlog to the to-do list (by the project coordinator) or after?
Hopefully anyone here can tell me.
GITLAB_URL
https://kanban.mykanban.com/assets/html/user/views/oauth.html
? I am using port 443. On the console I see it trying to work so I know it is (probably) not a problem with the reverse proxy.
@leso-kn Can you please help debug this? It is the correct Application, Secret, and Reverse Proxy is not the problem.
[Macaron] Started GET /api/oauth?provider=gitlab for <ip>
[Macaron] Completed /api/oauth?provider=gitlab 302 Found in 661.044µs
[Macaron] Started POST /api/oauth for <ip>
2019/03/15 09:26:10 oauth2: cannot fetch token: 401 Unauthorized
Response: {"error":"invalid_grant","error_description":"The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."}
[Macaron] Completed /api/oauth 400 Bad Request in 60.313013ms
I am using the command line parameters like this:
/kanban_x86_64_linux server --redis-addr 127.0.0.1:6379 --seer-listen="127.0.0.1:8080" --gitlab-client="[Application ID] --gitlab-secret="[Secret ]" --server-hostname="https://kanban.theserverirunthiskanbanon.com/" --gitlab-url="https://gitlab.myotherserverforgitlab.com"
I triple check the Application and Secret.
@leso-kntail: cannot open '/proc1828/fd/1' for reading: No such file or directory
But the "log" is the console output. That is all of the information I think we will get.
Did you face any issues using docker at your company?
I don't know what you mean? But if docker is required then I think I will look for another application. I don't like docker.
[Macaron] Started GET /1.4.2/assets/js/dropdownToggle.js for <ip>
[Macaron] [Static] Serving /assets/js/dropdownToggle.js
[Macaron] Completed /1.4.2/assets/js/dropdownToggle.js 200 OK in 285.058µs
[Macaron] Started GET /1.4.2/assets/js/topbar.js for <ip>
[Macaron] [Static] Serving /assets/js/topbar.js
[Macaron] Completed /1.4.2/assets/js/topbar.js 200 OK in 427.692µs