Welcome! Log In Create A New Profile

Advanced

Re: ASP.NET pages with nginx

Jonathan Matthews
February 11, 2014 08:54AM
On 11 Feb 2014 13:44, "parnican" <nginx-forum@nginx.us> wrote:
>
> Just did some experiments with following settings:
> proxy_set_header X-Real-IP $remote_addr;
> proxy_pass_header X-Accel-Redirect;
>
> No change:( ...its time to give up or any ides?

How about using it to set the header that contains the "wrong" setting -
the Host header.

> Also tried:
> proxy_cache_bypass $cookie_nocache $arg_nocache $arg_comment;
> proxy_cache_bypass $http_pragma $http_authorization;
>
> proxy_set_header X-Real-IP $remote_addr;
> proxy_pass_header X-Accel-Redirect;
>
> #proxy_pass_request_headers off;
> #proxy_pass http://localhost:9000;
> #proxy_pass_request_body off;
> #proxy_redirect off;
> proxy_buffering on;
> }
> }
>

You appear to be throwing crap at a wall and seeing what sticks. I suggest
that you do the absolutely most simple thing that you can get to work (a
Hello world mono app and nginx just passing requests through) and *only*
change things as you /need/ to, one at a time, so you can see what change
breaks things.

Just my 2 cents :-)
J
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

ASP.NET pages with nginx

parnican February 10, 2014 04:54AM

Re: ASP.NET pages with nginx

Jonathan Matthews February 10, 2014 10:28AM

Re: ASP.NET pages with nginx

parnican February 10, 2014 10:35AM

Re: ASP.NET pages with nginx

parnican February 10, 2014 11:12AM

Re: ASP.NET pages with nginx

parnican February 10, 2014 12:08PM

Re: ASP.NET pages with nginx

Jonathan Matthews February 11, 2014 07:28AM

Re: ASP.NET pages with nginx

parnican February 11, 2014 07:44AM

Re: ASP.NET pages with nginx

Jonathan Matthews February 11, 2014 08:54AM

Re: ASP.NET pages with nginx

parnican February 11, 2014 08:58AM

Re: ASP.NET pages with nginx

parnican February 11, 2014 09:09AM

Re: ASP.NET pages with nginx

Jonathan Matthews February 11, 2014 10:08AM

Re: ASP.NET pages with nginx

parnican February 11, 2014 10:41AM

Re: ASP.NET pages with nginx

pumiz March 02, 2014 05:32AM

Re: ASP.NET pages with nginx

Maxim Dounin March 02, 2014 08:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 108
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready