Nginx monitored two ports 80 and 81, but I can not find the configuration of 81!!

Source: Internet
Author: User

Nginx.conf inside.

HTTP {

### Virtual Host Configs##include /etc/nginx/conf.d/*.conf;include /etc/nginx/sites-enabled/*;

}

CONF.D is empty ...

Sites-enabled

And then the default file inside

server {

listen 80 default_server;listen [::]:80 default_server;
root /data/www/;# Add index.php to the list if you are using PHPindex index.html index.htm index.php;server_name _;location / {    # First attempt to serve request as file, then    # as directory, then fall back to displaying a 404.    try_files $uri $uri/ =404;}# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000#location ~ \.php$ {    include snippets/fastcgi-php.conf;##    # With php5-cgi alone:    fastcgi_pass 127.0.0.1:9000;#    # With php5-fpm:#    fastcgi_pass unix:/var/run/php5-fpm.sock;}# deny access to .htaccess files, if Apache's document root# concurs with nginx's one##location ~ /\.ht {#    deny all;#}

}
I didn't even see the 81 word.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.