Re: Static or dynamic content

2016-10-20 Thread Francis Daly
On Thu, Oct 20, 2016 at 09:19:29AM +, Jens Dueholm Christensen wrote: > On Tuesday, October 18, 2016 08:28 AM Francis Daly wrote, Hi there, > > what output do you get when you use the test config in the earlier mail? > > Alas I did not try that config yet, but I would assume that my tests wo

Re: Using Nginx as proxy content are "striped"

2016-10-20 Thread tbaror
Thanks but now its redirect to the actual server , how i would enforce it pass trough the proxy? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270422,270427#msg-270427 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/

how to check nginx has really sent response?

2016-10-20 Thread Phani Sreenivasa Prasad
Hi I am using fastCGI for my application to talk to nginx. I have a requirement such that when my application processes request and sent the response , would like to check whether nginx also sent response successfully to client. ? How can this be achieved? Is there a way I can register a callbac

Using Nginx as proxy content are "striped"

2016-10-20 Thread tbaror
Hello All, I am using Nginx for proxy to OpenGrok server using following conf below , the issue i have is that the proxy works but seems to be missing content and not works as expected. Any idea how to make it work better? Please advise Thanks server { listen 80; return 301 https://$host

Re: Problem with cache key

2016-10-20 Thread CarstenK.
Hi Francis, thank you for your fast reply. I took a look at the header nginx response. # Header nginx ### Response Header ## Chrome HTTP/1.1 200 OK Server: nginx Date: Wed, 19 Oct 2016 09:54:07 GMT Content-Type: text/html;charset=UTF-8 Content-Length: 15991 Connection: keep-alive Content-Lang

Re: Using Nginx as proxy content are "striped"

2016-10-20 Thread itpp2012
proxy_pass http://192.168.1.100:38080; (remove the trailing slash) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270422,270423#msg-270423 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

content-type does not match mime type

2016-10-20 Thread shang yu
Hi dear all, When I GET a xlsx file from nginx server , the response header Content-Type is application/octet-stream , not the expected application/vnd.openxmlformats-officedocument.spreadsheetml.sheet , why ? many thanks !!! ___ nginx mailing list ng

Re: proxy_next_upstream exemption for 429 "too many requests"

2016-10-20 Thread Marques Johansson
I was mistaken. I wasn't triggering 429s reliably. They are being passed through as expected. I will use proxy_pass_header Retry-After to get the behavior I wanted for 503s. Some of my server 503s may be application/json while others are text/html. I would like to pass the json responses throu

RE: Static or dynamic content

2016-10-20 Thread Jens Dueholm Christensen
On Tuesday, October 18, 2016 08:28 AM Francis Daly wrote, > So: a POST for /x will be handled in @xact, which will return 503, > which will be handled in @error_503, which will be rewritten to a POST > for /error503.html which will be sent to the file error/error503.html, > which will return a 405