Re: nginx returns 503 when it gets 403 from haproxy

2016-04-16 Thread CJ Ess
It sounds like this is not as straight forward as I had hoped, I'll do like Francis Daly said and put together a test case - I'll get some packet captures to see what exactly is being sent between all the components. On Fri, Apr 15, 2016 at 4:49 PM, Валентин Бартенев wrote: > On Thursday 14 Apr

Re: Redirection problem again in new rules.

2016-04-16 Thread Francis Daly
On Sat, Apr 16, 2016 at 12:22:46PM +0500, Muhammad Yousuf Khan wrote: Hi there, > location ~ \.php$ { > location ~* > \.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|woff|woff2)$ >

Re: Redirection problem again in new rules.

2016-04-16 Thread Muhammad Yousuf Khan
Here is our nginx default configuration file. server { server_name www.mydomain.com; return 301 $scheme://mydomain.com$request_uri; } server { server_name mydomain.com; #listen 80; root /var/www/html/mydomain/public_html; index index.php info.php; access_log /var/log/nginx/mydomain/access.lo