Sha256: 672b6016c0e60629d0aae9614121ece49a9c2a4cc18bf0864852c5a58909ebf5

Contents?: true

Size: 1.4 KB

Versions: 6

Compression:

Stored size: 1.4 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;
	# 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

6 entries across 6 versions & 1 rubygems

Version Path
pvcglue-0.1.10 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.9 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.8 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.7 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.6 lib/pvcglue/templates/web.nginx.conf.erb
pvcglue-0.1.5 lib/pvcglue/templates/web.nginx.conf.erb