Quantcast
Channel: Nginx Forum - Nginx Mailing List - Russian
Viewing all articles
Browse latest Browse all 3102

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

$
0
0
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.

Viewing all articles
Browse latest Browse all 3102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>