question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reverse Proxy with multiple locations

See original GitHub issue

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

        location /wekan {

            client_max_body_size 10M;

            proxy_set_header Host $http_host;

            proxy_set_header X-Forwarded-Proto $scheme;

            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

            proxy_read_timeout 120;

            proxy_connect_timeout 10;

            proxy_set_header X-Real-IP $remote_addr;

            proxy_pass http://localhost:1234/;

         }

but it doesnt work. I think it somehow corresponds to the usage of absolute url paths(?).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Sep 6, 2016

Did you try using wekan with caddy but with another path? If i use wekan on “/” it works perfectly fine. If i try another Path the uri is wrong (double slashes). You are right, i should remove them. https://discuss.wekan.io/t/how-to-run-docker-container-on-a-subfolder-behind-nginx-proxy/43

there seems to be a commit, but it doesnt seem to be fixed for me properly.

0reactions
xet7commented, Feb 20, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

nginx reverse proxy multiple locations - Server Fault
Show activity on this post. I want to make a reverse proxy for multiple applications. Something like this: https://proxyip/app1 -> https://10. ...
Read more >
Create an Nginx reverse proxy across multiple back end servers
First, I'll show you how to configure and deploy a multi-component application, to demonstrate the use of the Nginx reverse proxy.
Read more >
Serving Multiple Proxy Endpoints Under a Location in Nginx
Learn how to set up two or more reverse proxy endpoints under a location with Nginx.
Read more >
Nginx reverse proxy to multiple sites on different locations
Just wanted to add working config if some1 else needs. map $http_referer $prefix { ~https?://[^/]+/a/ a; default b; } server ...
Read more >
How To Set Up a Reverse Proxy (Step-By-Step for Nginx ...
Unifying two different sites under a single domain name is one of the key advantages of using a reverse proxy. It helps brands...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found