diff options
-rw-r--r-- | genenetwork/services/genenetwork.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index aa4ac77..cdb7ff4 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -198,6 +198,7 @@ object." (port gn2-port)))) (wsgi-app-module "gn2.wsgi") (workers 20) + (timeout 1200) (environment-variables (list (environment-variable (name "GN2_PROFILE") @@ -302,7 +303,8 @@ a @code{<genenetwork-configuration>} record." (body (list (string-append "proxy_pass http://localhost:" (number->string gn2-port) ";") "proxy_set_header Host $host;" - "proxy_set_header X-Forwarded-Proto $scheme;"))) + "proxy_read_timeout 20m;" + "proxy_set_header X-Forwarded-Proto $scheme;"))) (nginx-location-configuration (uri "/api3/") (body (list "rewrite /api3/(.*) /api/$1 break;" |