Skip to content

Example web server proxy configs

Paul Makles edited this page Oct 22, 2017 · 2 revisions

Lighttpd

The following configuration is similar to what is used on xyon.k.vu.

$HTTP["host"] =~ "(^|\.)xyon.k.vu$" {
	$HTTP["url"] =~ "^/api" {
		proxy.server = ( 
			"" => (
				"host" => (
					"host" => "127.0.0.1",
					"port" => 3000
				)
			)
		)
	}
}
Clone this wiki locally