Welcome! Log In Create A New Profile

Advanced

Re: Problem with fpm php (wrong script location ?!)

February 27, 2012 03:26PM
> location / {
> root /websites/some.domain/http;
> index index.php index.html index.htm;
> }

Try to move this main root out of location / {} block to the server {} block:

server {

server_name ...;
root ...;

}


Also, root should ALWAYS point to an absolute path.

http://nginx.org/en/docs/http/ngx_http_core_module.html#root

Andrejs
Subject Author Posted

Problem with fpm php (wrong script location ?!)

nginx_dig February 27, 2012 02:39PM

Re: Problem with fpm php (wrong script location ?!)

nginx_dig February 27, 2012 03:05PM

Re: Problem with fpm php (wrong script location ?!)

locojohn February 27, 2012 03:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 268
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready