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
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;
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
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
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
>