Sha256: c94a088b4e2bb57e0c275fd45b9224d728140e9a7cbe02a92e3e2e130eaa9e06

Contents?: true

Size: 665 Bytes

Versions: 2

Compression:

Stored size: 665 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;
}

location /cable {
    proxy_pass http://app;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
}

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
subspace-0.4.8 ansible/roles/nginx-rails/templates/_rails.conf
subspace-0.4.7 ansible/roles/nginx-rails/templates/_rails.conf