On Sat, Nov 02, 2013 at 10:21:14AM -0400, nehay2j wrote:
Hi there,
I suspect you'll get better help from someone else.
I'm unable to work out what it is that you want nginx to do.
> I added rewrite command so that the url doesn't show IP passed to the nginx.
What does that mean, in the problem
Hi Francis,
I added rewrite command so that the url doesn't show IP passed to the nginx.
Curl gives a 302 because it doesnt have the sessionid with it. If there is a
session id that is passed to the application running on
http://23.23.234.234:8080/test, it will take us to app. I can see in
applic
On Fri, Nov 01, 2013 at 09:45:18PM -0400, nehay2j wrote:
Hi there,
> I did a curl on the url - curl -i https://example.com/23.23.234.234
> HTTP/1.1 302 Found
> Location: https://marketplace.example.com/marketplace/marketplace/login
> Which is correct.
I confess that I don't see how the configu
Hi,
I did a curl on the url - curl -i https://example.com/23.23.234.234
HTTP/1.1 302 Found
Date: Sat, 02 Nov 2013 01:37:47 GMT
Location: https://marketplace.example.com/marketplace/marketplace/login
Server: nginx/1.4.2
Content-Length: 0
Connection: keep-alive
Which is correct. But when I submit
Thanks Francis. I could finally see the post parameters at server end.
Setting proxy_set_header Host $1; changes the browser url which we donot
want. Currently, the code looks like-
location ~ /(?[0-9].*) {
rewrite $(.*)$ https://$http_host/test last;
proxy
On Fri, Nov 01, 2013 at 12:29:24PM -0400, nehay2j wrote:
Hi there,
> Thanks Francis. I was able to get past this issue. Appreciate all the help.
>
> Now I am stuck at forwarding the POST parameters to this proxy server.
>
> proxy_pass http://$1:8080/clarity;
> If I uncomment 'proxy_set_header
Thanks Francis. I was able to get past this issue. Appreciate all the help.
Now I am stuck at forwarding the POST parameters to this proxy server.
proxy_pass http://$1:8080/clarity;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_redirect o
On Thu, Oct 31, 2013 at 09:39:54PM -0400, nehay2j wrote:
Hi there,
> I am making a GET call through browser like-
> https://example.com/ec2..com
So "$1" = "/ec2..com" and the proxy_pass argument is http:///ec2..com/test
> Error Logs-
>
> 2013/11/01 01:33:49 [error] 13086#0: *1 no host in upst
Thanks Francis.
I am making a GET call through browser like-
https://example.com/ec2..com
Error Logs-
2013/11/01 01:33:49 [error] 13086#0: *1 no host in upstream
"/ec2-xx-xxx-xxx-xxx..amazonaws.com:8080/test",
client: 10.10.4.167, server: clarity-test.cloud.tibco.com, request: "GET
/ec2-xx-xx-xx
On Thu, Oct 31, 2013 at 07:55:15PM -0400, nehay2j wrote:
Hi there,
> I need to do proxy_pass to host name passed in url and rewrite url as well.
> Since the host name is difference with each request, I cannot provide an
> upstream for it. Below is the nginx configuration I am using but it doesnt
Hi,
I need to do proxy_pass to host name passed in url and rewrite url as well.
Since the host name is difference with each request, I cannot provide an
upstream for it. Below is the nginx configuration I am using but it doesnt
do proxy pass and returns 404 error. The hostname resembles ec2...com.
11 matches
Mail list logo