Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Proxygen fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Jun 4, 2015
1 parent bf6e593 commit 0af3fff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions base/HHVMDaemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ protected function getArguments(): Vector<string> {
'-v', 'AdminServer.Port='.PerfSettings::BackendAdminPort(),
'-v', 'Server.Type='.$this->serverType,
'-v', 'Server.DefaultDocument=index.php',
'-v', 'Server.ErrorDocument404=index.php',
'-v', 'Server.SourceRoot='.$this->target->getSourceRoot(),
'-v', 'Eval.Jit=1',
'-d', 'pid='.escapeshellarg($this->getPidFilePath()),
Expand Down
4 changes: 2 additions & 2 deletions base/NginxDaemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ protected function getGeneratedConfigFile(): string {

if ($this->options->proxygen) {
$proxy_pass = sprintf(
'proxy_pass http://127.0.0.1:%d',
'proxy_pass http://127.0.0.1:%d$request_uri',
PerfSettings::BackendPort(),
);
$admin_proxy_pass = sprintf(
'proxy_pass http://127.0.0.1:%d',
'proxy_pass http://127.0.0.1:%d$request_uri',
PerfSettings::BackendAdminPort(),
);
} else {
Expand Down

0 comments on commit 0af3fff

Please sign in to comment.