{
  "hdl_http_config" = {
    "bind_address" = "<%= @hdl_host %>"
    "num_threads" = "15"
    "bind_port" = "<%= @hdl_web_port %>"
    "log_accesses" = "yes"
  }

  "server_type" = "server"
  "hdl_udp_config" = {
    "bind_address" = "<%= @hdl_host %>"
    "num_threads" = "15"
    "bind_port" = "<%= @hdl_srv_port %>"
    "log_accesses" = "yes"
  }

  "hdl_tcp_config" = {
    "bind_address" = "<%= @hdl_host %>"
    "num_threads" = "15"
    "bind_port" = "<%= @hdl_srv_port %>"
    "log_accesses" = "yes"
  }

  "log_save_config" = {
    "log_save_directory" = "logs"
    "log_save_interval" = "Monthly"
  }

  "no_udp_resolution" = "yes"
  "interfaces" = (
    "hdl_udp"
    "hdl_tcp"
    "hdl_http"
  )

  "server_config" = {
    "server_admins" = (
      "300:0.NA/<%= @hdl_prefix %>"
      "300:0.NA/<%= @hdl_test_prefix %>"
      "300:0.NA/<%= @hdl_test_prefix %>_DSA"
   )

    "replication_admins" = (
      "300:0.NA/<%= @hdl_prefix %>"
    )

    "max_session_time" = "86400000"
    "this_server_id" = "1"
    "max_auth_time" = "60000"
    "server_admin_full_access" = "yes"
    "allow_na_admins" = "no"
    "case_sensitive" = "no"

    "storage_type" = "sql"
    "sql_settings" = {
        "sql_url" = "jdbc:mysql://<%= @db_host %>/<%= @hdl_db_name %>?user=<%= @db_user %>&password=<%= @db_pw %>"
        "sql_driver" = "com.mysql.jdbc.Driver"
        "sql_login" = "<%= @db_user %>"
        "sql_passwd" = "<%= @db_pw %>"
        "sql_read_only" = "no"
    }

    "auto_homed_prefixes" = (
      "0.NA/<%= @hdl_prefix %>"
      "0.NA/<%= @hdl_test_prefix %>"
    )

  }

}
