Reverse Proxy with multiple locations
See original GitHub issueHey 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:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Moved to https://github.com/wekan/wekan/issues/785