如何允许LAN';s PC访问我的NGINX服务器

如何允许LAN';s PC访问我的NGINX服务器,nginx,server,hosting,lan,Nginx,Server,Hosting,Lan,我已经使用LocalByFleel在nginx服务器上安装了wordpress,它运行良好,我的问题是我想从其他计算机上打开LAN访问,我不知道从哪里开始,我一直在从一些教程中查看服务器块文件的配置,我已经尝试过了,但没有任何效果。 PS当我尝试ngrock时,它在互联网上运行得非常好,但由于我在互联网上的上传带很小,所以速度很慢 error_log "{{logs.errorLog}}"; events { worker_connections 1024; }

我已经使用LocalByFleel在nginx服务器上安装了wordpress,它运行良好,我的问题是我想从其他计算机上打开LAN访问,我不知道从哪里开始,我一直在从一些教程中查看服务器块文件的配置,我已经尝试过了,但没有任何效果。 PS当我尝试ngrock时,它在互联网上运行得非常好,但由于我在互联网上的上传带很小,所以速度很慢

error_log "{{logs.errorLog}}";

events {
    worker_connections  1024;
}

http {
    include includes/mime-types.conf;

    server_names_hash_bucket_size 128;

    client_max_body_size 1000M;
    default_type       application/octet-stream;
    access_log         off;
    sendfile           off;
    keepalive_timeout  3;

    fastcgi_buffers 32 32k;
    fastcgi_buffer_size 32k;
    fastcgi_read_timeout 1800s;

    map $http_x_forwarded_proto $resolved_scheme {
        default "http";
        "https" "https";
    }

    map $resolved_scheme $fastcgi_https {
        default '';
        https on;
    }

    include site.conf;
}
那是我的nginx conf文件 这是我的站点配置文件

 upstream php {
  {{#each fastcgi_servers}}
  server {{this}};
  {{/each}}
}

server {
    listen {{port}};
    root   "{{root}}";

    index index.php index.html index.htm;

    #
    # Generic restrictions for things like PHP files in uploads
    #
    include includes/restrictions.conf;

    #
    # Gzip rules
    #
    include includes/gzip.conf;

    #
    # WordPress Rules
    #
    {{#unless site.multiSite}}
    include includes/wordpress-single.conf;
    {{else}}
    include includes/wordpress-multi.conf;
    {{/unless}}
我还没有上传所有的文件,但如果需要我会上传。
提前感谢您的帮助

您的潜在客户能否ping您的服务器?如果不是,可能是防火墙问题。如果可以,请尝试
粘贴-p