diff --git a/ansible/roles/stack-proxy/templates/nginx.conf b/ansible/roles/stack-proxy/templates/nginx.conf
index 566be10a09d34e0c9f3631f6df4ea96464d563cb..ff5ee83d09534cf212f10531956deb7aad6e19a9 100644
--- a/ansible/roles/stack-proxy/templates/nginx.conf
+++ b/ansible/roles/stack-proxy/templates/nginx.conf
@@ -45,7 +45,7 @@ http {
     #tcp_nopush     on;
     client_max_body_size 60M;
 
-    keepalive_timeout  500s;
+    keepalive_timeout  65s;
     keepalive_requests 200;
 
     # Nginx connection limit per ip