Sha256: 2cb14b8cd1b34ae548286c051f70361e69b207ebeb84c99e50c801bed726a0fd

Contents?: true

Size: 1.05 KB

Versions: 11

Compression:

Stored size: 1.05 KB

Contents

server {
	listen 80;

	gzip on;
	gzip_min_length 0;

	root /usr/share/nginx/www;
	index index.html index.htm;

	server_name static.example.com;

	location / {
		try_files $uri $uri/ /index.html;
	}
}

server {
	listen 80;

	root /usr/share/nginx/www;
	index index.html index.htm;

	server_name app.example.com;

	location / {
    proxy_pass http://<%= node['addresses']['app'] %>;
	}
}


# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
#	listen 8000;
#	listen somename:8080;
#	server_name somename alias another.alias;
#	root html;
#	index index.html index.htm;
#
#	location / {
#		try_files $uri $uri/ /index.html;
#	}
#}


# HTTPS server
#
#server {
#	listen 443;
#	server_name localhost;
#
#	root html;
#	index index.html index.htm;
#
#	ssl on;
#	ssl_certificate cert.pem;
#	ssl_certificate_key cert.key;
#
#	ssl_session_timeout 5m;
#
#	ssl_protocols SSLv3 TLSv1;
#	ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
#	ssl_prefer_server_ciphers on;
#
#	location / {
#		try_files $uri $uri/ /index.html;
#	}
#}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
infrataster-0.2.2 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.2.1 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.2.0 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.2.0.beta1 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.1.13 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.1.12 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.1.11 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.1.10 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.1.9 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.1.8 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb
infrataster-0.1.7 spec/integration/vm/cookbooks/proxy/templates/default/integration-test.erb