提高web性能!nginx和php-fpm分别部署在不同服务器;
; The address onwhich to accept FastCGI requests.; Valid syntaxesare:
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specificaddress on
; a specific port;
; 'port' - to listen on a TCP socket toall addresses on a
; specific port;
; '/path/to/unix/socket' - to listen on a unixsocket.
; Note: Thisvalue is mandatory.
;listen = 127.0.0.1:9000
listen = 192.168.10.63#改成自己的IP地址
; List of ipv4addresses of FastCGI clients which are allowed to connect.
; Equivalent tothe FCGI_WEB_SERVER_ADDRS environment variable in the original
; PHP FCGI(5.2.2+). Makes sense only with a tcp listening socket. Each address
; must beseparated by a comma. If this value is left blank, connections will be
; accepted fromany ip address.
; Default Value:any
;listen.allowed_clients =127.0.0.1
listen.allowed_clients = 192.168.10.66 #设置允许连接到 FastCGI 的服务器 IPV4 地址。如果允许所有那么把这条注释掉即可
页:
[1]