Sha256: 870d47b2a2d6dff526e5422daab5e6b098144e4c7ce2db7a4a2a004f8c4ec5d1

Contents?: true

Size: 797 Bytes

Versions: 19

Compression:

Stored size: 797 Bytes

Contents

  root /u/apps/{{project_name}}/current/public;
  try_files $uri/index.html $uri @app;

  location @app {
    proxy_pass http://app;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $app_proto;
    proxy_set_header Host $http_host;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_redirect off;
    {% if nginx_proxy_read_timeout is defined %}
    proxy_read_timeout {{nginx_proxy_read_timeout}};
    {% endif %}
  }

  {% if asset_cors_allow_origin is defined %}
  location /assets {
    add_header 'Access-Control-Allow-Origin' "{{asset_cors_allow_origin}}";
  }
  {% endif %}

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
subspace-2.1.2 ansible/roles/nginx-rails/templates/_rails.conf
subspace-2.1.1 ansible/roles/nginx-rails/templates/_rails.conf
subspace-2.1.0 ansible/roles/nginx-rails/templates/_rails.conf
subspace-2.0.4 ansible/roles/nginx-rails/templates/_rails.conf
subspace-2.0.3 ansible/roles/nginx-rails/templates/_rails.conf
subspace-2.0.2 ansible/roles/nginx-rails/templates/_rails.conf
subspace-2.0.1 ansible/roles/nginx-rails/templates/_rails.conf
subspace-2.0.0 ansible/roles/nginx-rails/templates/_rails.conf
subspace-1.0.8 ansible/roles/nginx-rails/templates/_rails.conf
subspace-1.0.7 ansible/roles/nginx-rails/templates/_rails.conf
subspace-1.0.6 ansible/roles/nginx-rails/templates/_rails.conf
subspace-1.0.5 ansible/roles/nginx-rails/templates/_rails.conf
subspace-1.0.4 ansible/roles/nginx-rails/templates/_rails.conf
subspace-1.0.3 ansible/roles/nginx-rails/templates/_rails.conf
subspace-1.0.2 ansible/roles/nginx-rails/templates/_rails.conf
subspace-1.0.1 ansible/roles/nginx-rails/templates/_rails.conf
subspace-1.0.0 ansible/roles/nginx-rails/templates/_rails.conf
subspace-0.6.17 ansible/roles/nginx-rails/templates/_rails.conf
subspace-0.6.16 ansible/roles/nginx-rails/templates/_rails.conf