Bitcoin Forum

Economy => Service Discussion => Topic started by: soumikr on June 19, 2016, 04:00:54 PM



Title: untitled-dice ssl issue
Post by: soumikr on June 19, 2016, 04:00:54 PM
my domain auto redirect to https, how to stop this

i wanna run it in normal http://

here is the code to edit plz help


Code:
// Untitled Dice v0.0.8

// Customize these configuration settings:

var config = {
  // - Your app's id on moneypot.com
  app_id: 18,                             // <----------------------------- EDIT ME!
  // - Displayed in the navbar
  app_name: 'Untitled Dice',
  // - For your faucet to work, you must register your site at Recaptcha
  // - https://www.google.com/recaptcha/intro/index.html
  recaptcha_sitekey: '6LfI_QUTAAAAACrjjuzmLw0Cjx9uABxb8uguLbph',  // <----- EDIT ME!
  redirect_uri: 'https://untitled-dice.github.io',
  mp_browser_uri: 'https://www.moneypot.com',
  mp_api_uri: 'https://api.moneypot.com',
  chat_uri: '//socket.moneypot.com',
  // - Show debug output only if running on localhost
  debug: isRunningLocally(),
  // - Set this to true if you want users that come to http:// to be redirected
  //   to https://
  force_https_redirect: !isRunningLocally(),
  // - Configure the house edge (default is 1%)
  //   Must be between 0.0 (0%) and 1.0 (100%)
  house_edge: 0.01,
  chat_buffer_size: 250,
  // - The amount of bets to show on screen in each tab
  bet_buffer_size: 25
};


Title: Re: untitled-dice ssl issue
Post by: hexafraction on June 19, 2016, 04:50:20 PM
Why would you ever run a site that handles people's money over HTTP and not HTTPS? In 2016, with the availability of the Let's Encrypt certificate authority and the adoption of SSL/TLS, not encrypting traffic to a money-handling site such as a dice site is ludicrous.