Re: stop automatic trailing slash addition

2014-12-12 Thread Edho Arief
On Sat, Dec 13, 2014 at 9:00 AM, neubyr wrote: > > I was wondering if it's possible to have separate namespaces for '/test' and > /test/'. For example: > > > location /test { > root /usr/share/nginx/test; > } > > location /test/ { >root

stop automatic trailing slash addition

2014-12-12 Thread neubyr
I was wondering if it's possible to have separate namespaces for '/test' and /test/'. For example: location /test { root /usr/share/nginx/test; } location /test/ { root /usr/share/nginx/test-slash; try_files $uri default.txt;

Re: nginx + php-fpm = file not found

2014-12-12 Thread Jader H. Silva
Have you checked your php-fpm settings and log file? I'm getting a "X-Powered-By: PHP..." header which indicates nginx is corrrectly sending the request to php-fpm. Also I believe you don't really need to set root again inside the "location" blocks since it's already set in it's "server" parent blo

nginx + php-fpm = file not found

2014-12-12 Thread khav
I am getting File not found error with nginx and i have been trying to fix this for hours.The config look similar to what i use on other sites but i don't know why it doesn't work.html files works fine thought.index.php location is /home/servergreek.com/public_html/www/index.php.Thanks for helping

Re: [nginx] hello world module build trouble

2014-12-12 Thread Robert Paprocki
Yep, I didn't realize the _module suffix was required. It built successfully, thank you! On 12/11/2014 11:12 PM, cubicdaiya wrote: > Hello. > > Why don't you apply a difference below? > > --- config.orig 2014-12-12 16:10:06.0 +0900 > +++ config 2014-12-12 16:06:19.0 +0900 >