     if reply.status is 400
       error = reply.responseJSON.error
       ErrorHandle.flushInfo 'alert', error
+  $.ajaxSetup {
+    contentType: 'application/json; charset=UTF-8'
+  }
 
   service = $ '#service'
   service.find 'button'

  fpm.on 'click', (e) ->
    e.preventDefault()
    enable = if fpm.hasClass 'btn-success' then true else false
    $.post '/plugin/phpfpm/switch/', {
      enable: enable
    }
    .success ->
      location.reload()


  ssh.find 'button'
      .on 'click', (e) ->
        e.preventDefault()
        $.post '/plugin/ssh/update_passwd/', JSON.stringify {
          passwd: ssh.find('input').val()
        }
        .success ->
