]> git.openstreetmap.org Git - chef.git/commitdiff
Set a long timeout for dev instances proxying to cgimap
authorTom Hughes <tom@compton.nu>
Mon, 19 Nov 2018 19:10:03 +0000 (19:10 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 19 Nov 2018 19:10:03 +0000 (19:10 +0000)
cookbooks/dev/templates/default/apache.rails.erb

index ee9e08492b8a7942f9c546db5e6727890de834d6..0307c78ff79baac18cbe524982eaa4904670c02c 100644 (file)
@@ -36,6 +36,9 @@
                 CGIPassAuth On
         </Location>
 
                 CGIPassAuth On
         </Location>
 
+        # Set a long timeout for proxying to cgimap
+        ProxyTimeout 3600
+
         # Pass supported calls to cgimap
         RewriteEngine on
         RewriteRule ^/api/0\.6/map(\.json)?$ fcgi://127.0.0.1:<%= @cgimap_port %>$0 [P]
         # Pass supported calls to cgimap
         RewriteEngine on
         RewriteRule ^/api/0\.6/map(\.json)?$ fcgi://127.0.0.1:<%= @cgimap_port %>$0 [P]