Welcome! Log In Create A New Profile

Advanced

Nginx запущен, но не заходит на страницу

February 13, 2014 06:25AM
1) CentOS.
2) netstat
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 2765/php-cgi
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2958/nginx.conf
3)

server {
listen 80;
server_name test.ru www.test.ru;

location / {
root /usr/share/nginx/html;
index index.php index.html index.htm;
ssi on;
}

location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}


location /status {
stub_status on;
access_log off;
allow 192.168.163.1;
deny all;
}

4) захожу с IP 192.168.163.1 на 192.168.163.2. узел недоступен.
и даже на самом CentOS не заходит ни на 127.0.0.1, ни на 192.168.163.2.
Subject Author Posted

Nginx запущен, но не заходит на страницу

smotritel February 13, 2014 06:25AM

Re: Nginx запущен, но не заходит на страницу

Styopa Semenukha February 13, 2014 12:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 304
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