Sha256: 763007904b616cccb0410caa1b4b41b3f87e52ad66a7087b9ecc9377883e1313

Contents?: true

Size: 401 Bytes

Versions: 46

Compression:

Stored size: 401 Bytes

Contents

upstream <%= app_name %>_websockets {
	# <%# private_pub_instances.to_i.times do |i| %>server unix:/tmp/thin.<%= app_name %>.pp.<%#= i %>.sock;<%# end %>
	server <%= server_ip %>:<%= private_pub_port %>; 
	check interval=300 rise=2 fall=5 timeout=1000;
}   

server {
	listen <%= private_pub_host %>;
	server_name <%= private_pub_domain %>;
	tcp_nodelay on;
	proxy_pass <%= app_name %>_websockets;
}

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
magic_recipes-0.0.6 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.0.5 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.0.4 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.0.3 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.0.2 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.0.1 lib/magic_recipes/templates/nginx_private_pub.erb