FalconSourceFalconEnvironmentVirtual

module Virtual

Definitions

def service_class

The service class to use for the virtual host.

Signature

returns Class

Implementation

def service_class
	Service::Virtual
end

def bind_secure

The URI to bind the HTTPS -> falcon host proxy.

Implementation

def bind_secure
	"https://[::]:443"
end

def bind_insecure

The URI to bind the HTTP -> HTTPS redirector.

Implementation

def bind_insecure
	"http://[::]:80"
end

def timeout

The connection timeout to use for incoming connections.

Implementation

def timeout
	10.0
end

def falcon_path

The path to the falcon executable from this gem.

Signature

returns String

Implementation

def falcon_path
	File.expand_path("../../../bin/falcon", __dir__)
end