Trouble with redirects from backend

2017-02-11 Thread Rainer Duffner
Hi, I have typo3 with nginx running behind an nginx reverse-proxy, mapped to a subdirectory. So, it's www.company.bla/ourtypo3site. Typo3 has RealURL extension installed and that adds a "slash" at the end if it's not sent by the browser - this is done via a redirect. The trouble is that whe

Strange requests stalling inside nginx

2017-02-11 Thread MichaelLogutov
Hello. We have some strange issues when requests seems to stall inside nginx - in nginx log we see that request took 1 second (and was terminated by client timeout), while excactly the same request (we have special unique headers to mark them) from the uwsgi logs took only 100ms to complete. We al

proxy_pass isnt loading required resources

2017-02-11 Thread Georgi Minkov
Hello :) I`m having difficulties with configuring nginx to serve different applications based on the location in header. I`m successfully hit the index page but the additional resources are not returned (404). Checked the url in browser console and the request url is not modified with the locat

Re: Location url start with modifier, nginx -t pass the configuration test

2017-02-11 Thread linbo liao
Thank you for the clarification. 2017-02-10 20:45 GMT+08:00 Maxim Dounin : > Hello! > > On Fri, Feb 10, 2017 at 01:31:34PM +0800, linbo liao wrote: > > > I setup an test Nginx 1.10.3 on local VM (Centos 6.7 x86_64). I configure > > the following location > > > > location =/404.html { > > root