Sha256: 3814bc3d959bc0925672ef5a3fb30be7a056927f4916d46ee8a26c6764dbcc88

Contents?: true

Size: 630 Bytes

Versions: 21

Compression:

Stored size: 630 Bytes

Contents

upstream unicorn {
  server unix:/tmp/unicorn.volontariat.sock fail_timeout=0;
}

server {
  listen 80 default deferred;
  server_name volontari.at;
  root /home/deployer/apps/volontariat/current/public;

  location ^~ /assets/ {
    gzip_static on;
    expires max;
    add_header Cache-Control public;
  }

  try_files $uri/index.html $uri @unicorn;
  location @unicorn {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_pass http://unicorn;
  }

  error_page 500 502 503 504 /500.html;
  client_max_body_size 4G;
  keepalive_timeout 10;
}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
voluntary-0.7.1 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.7.0 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.6.0 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.5.2 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.5.1 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.5.0 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.4.0 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.3.0 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.2.4 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.2.3 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.2.2 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.2.1 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.2.0 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.1.0 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.1.0.rc4 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.1.0.rc3 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.1.0.rc2 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.1.0.rc1 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.0.3 lib/generators/voluntary/install/templates/config/nginx.conf
voluntary-0.0.2 lib/generators/voluntary/install/templates/config/nginx.conf