502 bad gateway nginx php7 gentoo

1. 502 bad gateway nginx php7 gentoo

Matheus
MannoPlay

(usa Gentoo)

Enviado em 24/11/2017 - 22:50h

Pessoal estou tendo problemas com em rodar o php em meu sever nginx
nginx version: nginx/1.12.1
PHP 7.0.25 (cli) (built: Nov 24 2017 19:22:12) ( ZTS )

server {

#listen 127.0.0.1;
listen *:80;
server_name *.mannoplay.com mannoplay.com;

#pagespeed stuff
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; }
location ~ "^/ngx_pagespeed_static/" { }
location ~ "^/ngx_pagespeed_beacon$" { }
location /ngx_pagespeed_statistics { allow 127.0.0.1; deny all; }
location /ngx_pagespeed_message { allow 127.0.0.1; deny all; }

#root files
location / {
autoindex on;
root /var/www/mannoplay.com/public_html/;
index index.html index.php index.htm;
}

#PHP files
location ~* \.php$ {
# include /etc/nginx/fastcgi_params;
include /etc/nginx/fastcgi.conf;
# fastcgi_pass unix:/run/php-fpm.socket;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /var/www/mannoplay.com/public_html$fastcgi_script_name;
}
}



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts