]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web-frontend.rb
nominatim: increase number of tracked connections
[chef.git] / roles / web-frontend.rb
index 741a40b901e3cf3db3dbc7f7b461c9c13c99a66b..3ecca30ff085b385f7782e3be0dabf4b13b9fd81 100644 (file)
@@ -21,9 +21,6 @@ default_attributes(
       ]
     }
   },
-  :networking => {
-    :tcp_fastopen_key => "www"
-  },
   :passenger => {
     :max_pool_size => 50
   },
@@ -37,7 +34,10 @@ default_attributes(
         :user => "rails",
         :group => "rails",
         :home_directory => "/srv/www.openstreetmap.org/rails",
-        :path => "/bin:/usr/bin:/usr/local/bin"
+        :path => "/bin:/usr/bin:/usr/local/bin",
+        :environment => {
+          "RAILS_ENV" => "production"
+        }
       }
     }
   }