Изменение основных настроек сайта

POST https://adm.tools/action/hosting/virtual/paramssite/send/

Параметр Тип данных Доступные значения Значение по умолчанию
host_id Int
charset_id Int 0
static_cors Int 0
static_files_expire_default Int 0
static_files_expire_user Int 0
ssi Bool 0, 1 0
static_404_redirect Bool 0, 1 0
enable_service_url Bool 0, 1 0
default_ip Int 0
default_host Bool 0, 1 0
enable_perl Bool 0, 1 0
system_error_pages Bool 0, 1 0
http2_push_preload Bool 0, 1 0
site_error_404 String пустая строка
ipv6_auto_configuration Bool 0, 1 0
charset String пустая строка
ip String пустая строка
redirect_to String 'off'
php_mail String пустая строка
alias Array []
document_root_suffix String пустая строка
https_redirect String 'disabled', 'to_http', 'to_https' 'disabled'
system_error_lang String 'ru', 'en', 'uk' 'uk'
web_server_backend String 'apache', 'litespeed', 'php-fpm', 'nodejs', 'proxy-local-ip' 'apache'
php_fpm_template String 'default', 'wordpress', 'opencart', 'dokuwiki', 'modx', 'moodle', 'prestashop', 'roundcube' 'default'
static_files Array []
fcgi_php_files Array []
nodejs_version_id Int 0
nodejs_proxy_type String 'ip', 'socket' 'ip'

Устанавливает значения основных настроек для сайта с идентификатором host_id (данные вкладки «Основные настройки» в настройках сайта). Внимание! Метод всегда изменяет все настройки. Если какие-либо параметры отсутствуют в запросе, для них будут установлены значения по умолчанию.

  • hosting/virtual/paramssite/send.txt
  • Последнее изменение: 3 дн. назад
  • wikiweb