Sha256: ad652758988196fa760ff27af7771ff1bf7143e056eddedb3bf231e2808ebb8c

Contents?: true

Size: 1.46 KB

Versions: 24

Compression:

Stored size: 1.46 KB

Contents

user www-data;

# TODO:  Should be set to the same as `grep processor /proc/cpuinfo | wc -l`
worker_processes 2;

pid /var/run/nginx.pid;

events {
	worker_connections 768;
	# multi_accept on;
}

http {

	##
	# Basic Settings
	##

	sendfile on;
	tcp_nopush on;
	tcp_nodelay on;
	keepalive_timeout 65;
	types_hash_max_size 2048;
	# server_tokens off;

	server_names_hash_bucket_size 64;
 	client_max_body_size <%= Pvcglue.cloud.client_max_body_size %>;
	# server_name_in_redirect off;

	include /etc/nginx/mime.types;
	default_type application/octet-stream;

	##
	# Logging Settings
	##

	access_log /var/log/nginx/access.log;
	error_log /var/log/nginx/error.log;

	##
	# Gzip Settings
	##

	gzip on;
	gzip_disable "msie6";

	# gzip_vary on;
	# gzip_proxied any;
	# gzip_comp_level 6;
	# gzip_buffers 16 8k;
	# gzip_http_version 1.1;
	# gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

	##
	# nginx-naxsi config
	##
	# Uncomment it if you installed nginx-naxsi
	##

	# include /etc/nginx/naxsi_core.rules;

	##
	# Phusion Passenger config
	##
	# Uncomment it if you installed passenger or passenger-enterprise
	##

  passenger_root /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini;

	##
	# Virtual Host Configs
	##

  # disable the default server
  server {
      listen      80;
      server_name _;
      return      444;
  }

	include /etc/nginx/conf.d/*.conf;
	include /etc/nginx/sites-enabled/*;
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
pvcglue-0.1.35 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.34 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.33 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.32 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.31 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.30 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.29 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.28 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.27 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.26 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.25 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.24 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.23 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.22 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.21 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.20 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.19 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.18 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.17 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.15 lib/pvcglue/templates/web.nginx.conf.erb