module Falcon::Service::Virtual::Environment

def bind_insecure

The URI to bind the `HTTP` -> `HTTPS` redirector.
def bind_insecure
	"http://[::]:80"
end

def bind_secure

The URI to bind the `HTTPS` -> `falcon host` proxy.
def bind_secure
	"https://[::]:443"
end

def configuration

def configuration
	::Async::Service::Configuration.load(configuration_paths)
end

def configuration_paths

@returns [Array(String)] Paths to the falcon application configuration files.
All the falcon application configuration paths.
def configuration_paths
	["/srv/http/*/falcon.rb"]
end

def name

def name
	service_class.name
end

def service_class

@returns [Class]
The service class to use for the virtual host.
def service_class
	Virtual
end

def timeout

The connection timeout to use for incoming connections.
def timeout
	10.0
end