melezhik / cookbooks

perl chef cookbooks
https://github.com/melezhik/cookbooks
21 stars 27 forks source link

nginx-fcgi only works with socket file? #4

Closed x1a0 closed 11 years ago

x1a0 commented 11 years ago

Would it be better if it supports both unix socket file or address:port? So instead using a socket param it can be a pass param :)

melezhik commented 11 years ago

fixed in 0.0.10 (http://community.opscode.com/cookbooks/nginx-fastcgi)

nginx_fastcgi '/etc/nginx/sites-available/foo.site.conf' do
    inet_socket 'localhost:9000'
    servers [
        {
            :ip => '127.0.0.1',
            :server_name => 'foo.site.x'
        }
    ]
end