Skip to content
This repository has been archived by the owner on Oct 11, 2018. It is now read-only.

Commit

Permalink
Merge pull request #159 from ssaki/master
Browse files Browse the repository at this point in the history
Leave the 'listen.allowed_clients' directive commented in case there …
  • Loading branch information
jippi committed Oct 31, 2015
2 parents 663a496 + be1e089 commit 89e5c16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/fpm/pool.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ listen.backlog = <%= @listen_backlog %>
; must be separated by a comma. If this value is left blank, connections will be
; accepted from any ip address.
; Default Value: any
<% if @listen_allowed_clients and !@listen_allowed_clients.empty? -%>
listen.allowed_clients = <%= @listen_allowed_clients %>
<% else -%>
;listen.allowed_clients = 127.0.0.1
<% end -%>

; Set permissions for unix socket, if one is used. In Linux, read/write
; permissions must be set in order to allow connections from a web server. Many
Expand Down

0 comments on commit 89e5c16

Please sign in to comment.