mirror of
https://github.com/dani/vroom.git
synced 2024-06-02 05:21:39 +02:00
Enable reverse proxy support even under morbo
This commit is contained in:
parent
36dbda0dc5
commit
3f9e523aa5
|
@ -11,6 +11,7 @@ chdir dirname($0) . '/..';
|
||||||
my $config = Vroom::Conf::get_conf();
|
my $config = Vroom::Conf::get_conf();
|
||||||
|
|
||||||
$ENV{'PERL5LIB'} = 'lib';
|
$ENV{'PERL5LIB'} = 'lib';
|
||||||
|
$ENV{'MOJO_REVERSE_PROXY'} = 1;
|
||||||
|
|
||||||
if ($config->{'daemon.backend'} eq 'morbo'){
|
if ($config->{'daemon.backend'} eq 'morbo'){
|
||||||
exec ('/usr/bin/morbo',
|
exec ('/usr/bin/morbo',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user