Skip to content

Commit 911baa6

Browse files
authored
fix config key for roadrunner http.middlware (#333)
1 parent af41a5f commit 911baa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/StartRoadRunnerCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function handle(ServerProcessInspector $inspector, ServerStateFile $serve
8383
'-o', 'rpc.listen=tcp://'.$this->option('host').':'.$this->rpcPort(),
8484
'-o', 'http.pool.supervisor.exec_ttl='.$this->maxExecutionTime(),
8585
'-o', 'http.static.dir=public',
86-
'-o', 'http.middleware='.config('octane.swoole.http_middleware', 'static'),
86+
'-o', 'http.middleware='.config('octane.roadrunner.http_middleware', 'static'),
8787
'-o', 'logs.mode=production',
8888
'-o', app()->environment('local') ? 'logs.level=debug' : 'logs.level=warning',
8989
'-o', 'logs.output=stdout',

0 commit comments

Comments
 (0)