ansible/roles/nginx-rails/templates/_rails.conf in subspace-2.4.0 vs ansible/roles/nginx-rails/templates/_rails.conf in subspace-2.4.1
- old
+ new
@@ -13,10 +13,11 @@
proxy_set_header Connection "upgrade";
proxy_redirect off;
{% if nginx_proxy_read_timeout is defined %}
proxy_read_timeout {{nginx_proxy_read_timeout}};
{% endif %}
+ {{ extra_nginx_config | indent( width=4 ) }}
}
{% if asset_cors_allow_origin is defined %}
location /assets {
add_header 'Access-Control-Allow-Origin' "{{asset_cors_allow_origin}}";
@@ -27,7 +28,7 @@
error_page 503 /maintenance.html;
location /maintenance.html {
root /opt/subspace;
}
client_max_body_size {{client_max_body_size}};
- keepalive_timeout 10;
+ keepalive_timeout {{keepalive_timeout}};