You are here

hosting_nginx_ssl.service.inc in Hosting 7.4

File

web_server/nginx/ssl/hosting_nginx_ssl.service.inc
View source
<?php

/**
 * @file Define a Hosting service class for NGINX w/SSL.
 */
module_load_include('service.inc', 'hosting_web_server');
module_load_include('service.inc', 'hosting_ssl');
class hostingService_http_nginx_ssl extends hostingService_http_ssl {
  public $type = 'nginx_ssl';
  public $name = 'NGINX SSL';
  protected $has_restart_cmd = TRUE;
  function default_restart_cmd() {
    return "sudo /etc/init.d/nginx reload";
  }

}

Classes