How to remove port by url in HaProxy
up vote
0
down vote
favorite
I config HaProxy on a vm and setup as Load Balancer
I need to remove port :3080 by https url, without lose path
Example: ht tps://mysite.com:3080/tele/por/index.php
must be ht tps://mysite.com/tele/por/index.php
then send to my backend which is:
mysite.com:3080
Indeed the problem is if I don't remove :3080, the backend has already :3080 and the page not found.
I can't remove :3080 by backend, so I must remove by URL before it reach backend
haproxy
New contributor
add a comment |
up vote
0
down vote
favorite
I config HaProxy on a vm and setup as Load Balancer
I need to remove port :3080 by https url, without lose path
Example: ht tps://mysite.com:3080/tele/por/index.php
must be ht tps://mysite.com/tele/por/index.php
then send to my backend which is:
mysite.com:3080
Indeed the problem is if I don't remove :3080, the backend has already :3080 and the page not found.
I can't remove :3080 by backend, so I must remove by URL before it reach backend
haproxy
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I config HaProxy on a vm and setup as Load Balancer
I need to remove port :3080 by https url, without lose path
Example: ht tps://mysite.com:3080/tele/por/index.php
must be ht tps://mysite.com/tele/por/index.php
then send to my backend which is:
mysite.com:3080
Indeed the problem is if I don't remove :3080, the backend has already :3080 and the page not found.
I can't remove :3080 by backend, so I must remove by URL before it reach backend
haproxy
New contributor
I config HaProxy on a vm and setup as Load Balancer
I need to remove port :3080 by https url, without lose path
Example: ht tps://mysite.com:3080/tele/por/index.php
must be ht tps://mysite.com/tele/por/index.php
then send to my backend which is:
mysite.com:3080
Indeed the problem is if I don't remove :3080, the backend has already :3080 and the page not found.
I can't remove :3080 by backend, so I must remove by URL before it reach backend
haproxy
haproxy
New contributor
New contributor
edited Nov 10 at 12:06
Billal Begueradj
5,501132637
5,501132637
New contributor
asked Nov 10 at 8:45
Tony Soprano
1
1
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Tony Soprano is a new contributor. Be nice, and check out our Code of Conduct.
Tony Soprano is a new contributor. Be nice, and check out our Code of Conduct.
Tony Soprano is a new contributor. Be nice, and check out our Code of Conduct.
Tony Soprano is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237374%2fhow-to-remove-port-by-url-in-haproxy%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password