/etc/lighttpd/vhost.d/hermes.conf

羊越
2023-12-01
#
# WARNING: this file gets rewritten on each boot by obsapisetup runlevel script!
#
#$SERVER["socket"] == ":85" {
$HTTP["host"] =~ "hermes.*" {
  rails_app   = "starship"
  rails_root  = "/srv/www/hermes/starship"
  rails_procs = 5
  # production/development are typical values here
  rails_mode  = "production"


  log_root = "/var/log/hermes"


  include "vhosts.d/rails.inc"
}
#$SERVER["socket"] == ":86" {
$HTTP["host"] =~ "herminator.*" {
  server.name = "herminator"
  server.document-root = "/srv/www/hermes/herminator/"
  accesslog.filename = "/var/log/hermes/notify.access_log"
  static-file.exclude-extensions = ( ".cgi" )


  dir-listing.activate = "disable"
}
 类似资料: