Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
How to add an arg to the requests to the upstreams
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
speedfirst
May 25, 2011 05:48AM
Registered: 14 years ago
Posts: 71
Hey, I wanna add a custom arg to the upstreams by proxy_pass like this:
upstream servers {
server1:8011;
server2:8012;
}
...
server {
listen on 8443;
ssl on;
server_name server0;
location / {
proxy_pass https://servers;
}
}
My expectation: type "https://server0:8443" and the upstream will get "https://server1:8011?abc=1"
So how can I make this? Thanks.
Reply
Quote
RSS
Subject
Author
Posted
How to add an arg to the requests to the upstreams
speedfirst
May 25, 2011 05:48AM
Re: How to add an arg to the requests to the upstreams
Igor Sysoev
May 25, 2011 05:56AM
Re: How to add an arg to the requests to the upstreams
speedfirst
May 25, 2011 06:12AM
Re: How to add an arg to the requests to the upstreams
Igor Sysoev
May 25, 2011 06:26AM
Re: How to add an arg to the requests to the upstreams
speedfirst
May 25, 2011 06:24PM
Re: How to add an arg to the requests to the upstreams
speedfirst
May 25, 2011 06:28PM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 130
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024