-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Reverse Proxy with multiple locations #678
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
Comments
My nginx-fu is a little rusty. I have used Wekan with Caddy where proxy setup is easy: Are you sure you need all those timeouts? Wekan uses websockets that could be long running, Nginx may have some configuration needed. If you use basic auth somewhere, there could be some clashes if both Caddy and Jenkins have basic auth enabled: |
Did you try using wekan with caddy but with another path? If i use wekan on "/" it works perfectly fine. there seems to be a commit, but it doesnt seem to be fixed for me properly. |
Thanks a lot for sharing this great work, first of all 😄 👏 I am facing the same "double slash" problem here and I have read all the relevant issues from https://discuss.wekan.io/t/how-to-run-docker-container-on-a-subfolder-behind-nginx-proxy/43 upstream wekan_upstream {
server 127.0.0.1:8888;
keepalive 64;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
location /wekan {
proxy_pass http://wekan_upstream/wekan;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_max_temp_file_size 0;
proxy_redirect off;
proxy_read_timeout 240s;
}
} export ROOT_URL='https://mysite/wekan'
meteor -p 8888 Running "0.10.1" natively on Ubuntu 16.04 if that matters Any updates on this @mquandalle ? Kind Regards |
@jaimeagudo this project seems to have died, because the main contributor/repository-owner has left the project. There is a actively developed fork. Did you try: https://github.com/wefork/wekan? |
The double slash issue is the same for Apache, Nginx and Caddy and the reason is buggy FlowRouter. @Serubin is working on testing bugfix kadirahq/flow-router#691 for it, but it's not integrated to Wefork yet. Integrating requires to fork FlowRourer using multiple packages and host them under Wefork GitHub organization. Double slash issue at Wefork is: After your 0.10.1 version there has been many other bugfixes and new features in Wefork. |
Flow Router seems to be dead, but if we can somehow switch the URL generation from absolute to relative, we could solve the issue. My problem is that I can't seem to find anything in the client code that's creating the //b/ urls. |
Moved to #785 |
Hey Guys,
i cant seem to get reverse proxy with nginx in combination with wekan and jenkins to run properly.
Im trying to set a custom location
$ cat /etc/nginx/sites-enabled/wekan -->
but it doesnt work. I think it somehow corresponds to the usage of absolute url paths(?).
The text was updated successfully, but these errors were encountered: