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.1.17 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.16 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.15 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.14 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.13 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.11 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.10 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.9 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.8 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.7 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.6 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.5 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.4 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.3 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.2 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.1 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.1.0 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.0.29 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.0.28 lib/magic_recipes/templates/nginx_private_pub.erb
magic_recipes-0.0.27 lib/magic_recipes/templates/nginx_private_pub.erb