hosting_nginx_ssl.service.inc

Define a Hosting service class for NGINX w/SSL.

Classes

File

web_server/nginx/ssl/hosting_nginx_ssl.service.inc
View source
  1. <?php
  2. /**
  3. * @file Define a Hosting service class for NGINX w/SSL.
  4. */
  5. module_load_include('service.inc', 'hosting_web_server');
  6. module_load_include('service.inc', 'hosting_ssl');
  7. class hostingService_http_nginx_ssl extends hostingService_http_ssl {
  8. public $type = 'nginx_ssl';
  9. protected $has_restart_cmd = TRUE;
  10. function default_restart_cmd() {
  11. return "sudo /etc/init.d/nginx reload";
  12. }
  13. }