From 52a02eb6beea7abded9ad90eeb84e44cffbe7d20 Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Thu, 7 Jan 2021 13:37:43 +0100 Subject: [PATCH] Allow non-www host name As far as I know our DNS provider redirects itself timeoverflow.org to www.timeoverflow.org instead of our Nginx, as we are used to, but we're seeing people getting ERR_CONNECTION_REFUSED, with mobile data only, they say. We hope this may fix it but we're totally blind here. --- config/application.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/application.rb b/config/application.rb index 03d7fff90..a74298bfc 100644 --- a/config/application.rb +++ b/config/application.rb @@ -36,5 +36,6 @@ class Application < Rails::Application config.hosts << 'timeoverflow.local' config.hosts << 'staging.timeoverflow.org' config.hosts << 'www.timeoverflow.org' + config.hosts << 'timeoverflow.org' end end