Re: nginx add trailing slash with wrong port

2014-05-28 Thread Francis Daly
On Sat, May 24, 2014 at 02:53:21PM -0400, luc2 wrote: Hi there, > nginx rewrites : > > > http://localhost:8081/files > > to : > > > http://localhost:81/files/ # wrong port ! > is it possible to configure nginx to behave like apache ? No. If your use case is restricted to one of the two ment

Re: nginx add trailing slash with wrong port

2014-05-24 Thread Dustin Oprea
On May 24, 2014 2:53 PM, "luc2" wrote: > > nginx rewrites : > > > http://localhost:8081/files > > to : > > > http://localhost:81/files/ # wrong port ! > > while apache rewrites : > > > http://localhost:8082/files > > to > > > http://localhost:8082/files/ > > is it possible to configure nginx to be

Re: nginx add trailing slash with wrong port

2014-05-24 Thread itpp2012
A listen to port 81 should not invoke a response from 8081, check to see who is listening on 8081. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250338,250339#msg-250339 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman

nginx add trailing slash with wrong port

2014-05-24 Thread luc2
nginx rewrites : > http://localhost:8081/files to : > http://localhost:81/files/ # wrong port ! while apache rewrites : > http://localhost:8082/files to > http://localhost:8082/files/ is it possible to configure nginx to behave like apache ? /etc/nginx/conf.d/test.conf : > server { >