You are here

hosting_nginx_https.service.inc in Aegir HTTPS 7.3

Define a Hosting service class for NGINX w/HTTPS.

File

submodules/nginx_https/hosting_nginx_https.service.inc
View source
<?php

/**
 * @file Define a Hosting service class for NGINX w/HTTPS.
 */

#module_load_include('service.inc', 'hosting_web_server');
module_load_include('service.inc', 'hosting_https');
class hostingService_http_https_nginx extends hostingService_https {
  public $type = 'https_nginx';
  public $name = 'NGINX HTTPS';
  protected $has_restart_cmd = TRUE;
  function default_restart_cmd() {
    return "sudo /etc/init.d/nginx reload";
  }

}