1
0
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:
Daniel Berteaud 2015-07-03 17:25:51 +02:00
parent 36dbda0dc5
commit 3f9e523aa5

View File

@ -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',