     secret_url   : "https://www.odesk.com/services/api/auth?oauth_token="
     version      : "1.0"
     signature    : "HMAC-SHA1"
-    redirect_uri : "http://#{customDomain}:3020/-/oauth/odesk/callback"
+    redirect_uri : "#{customDomain}#{customDomain.port}/-/oauth/odesk/callback"
   facebook       :
     clientId     : "475071279247628"
     clientSecret : "65cc36108bb1ac71920dbd4d561aca27"
-    redirectUri  : "http://#{customDomain}:3020/-/oauth/facebook/callback"
+    redirectUri  : "#{customDomain}#{customDomain.port}/-/oauth/facebook/callback"
   google         :
     client_id    : "1058622748167.apps.googleusercontent.com"
     client_secret: "vlF2m9wue6JEvsrcAaQ-y9wq"
-    redirect_uri : "http://#{customDomain}:3020/-/oauth/google/callback"
+    redirect_uri : "#{customDomain}#{customDomain.port}/-/oauth/google/callback"
   statsd         :
     use          : false
     ip           : "#{customDomain}"

  runTerminalKite: no
  runProxy      : yes
  redis         : "#{customDomain.local}:6379"
  subscriptionEndpoint   : "#{customDomain.public}:3020/-/subscription/check/"
  misc          :
    claimGlobalNamesForUsers: no
    updateAllSlugs : no

  webserver     :
    useCacheHeader: no
    login       : "#{rabbitmq.login}"
    port        : "#{customDomain.port}"
    clusterSize : 1
    queueName   : socialQueueName+'web'
    watch       : yes
