Skip to content

Commit

Permalink
PR review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron committed Jan 4, 2024
1 parent 23dedb9 commit d8ef76a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.swoole
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ COPY --from=step0 /usr/local/src/vendor /usr/src/code/vendor

EXPOSE 80

CMD ["php", "tests/e2e/server_swoole.php"]
CMD ["php", "tests/e2e/server-swoole.php"]
2 changes: 1 addition & 1 deletion src/Http/Adapter/FPM/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function onStart(callable $callback)

public function onWorkerStart(callable $callback)
{
return;
call_user_func($callback, $this);
}

public function start()
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Adapter/Swoole/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function onRequest(callable $callback)

public function onWorkerStart(callable $callback)
{
return;
call_user_func($callback, $this);
}

public function onStart(callable $callback)
Expand Down
6 changes: 3 additions & 3 deletions tests/docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ http {
listen [::]:80 ipv6only=on; ## listen for ipv6

root /usr/share/nginx/html/tests/e2e;
index index.php server_fpm.php index.html index.htm;
index index.php server-fpm.php index.html index.htm;

server_tokens off;

Expand All @@ -53,7 +53,7 @@ http {
location / {
# First attempt to serve request as file, then
# as directory, then fall back to index.html
try_files $uri $uri/ /server_fpm.php?q=$uri&$args;
try_files $uri $uri/ /server-fpm.php?q=$uri&$args;

}

Expand All @@ -74,7 +74,7 @@ http {
fastcgi_param HTTP_IF_NONE_MATCH $http_if_none_match;
fastcgi_param HTTP_IF_MODIFIED_SINCE $http_if_modified_since;
fastcgi_read_timeout 600;
fastcgi_index server_fpm.php;
fastcgi_index server-fpm.php;
include fastcgi_params;
}

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit d8ef76a

Please sign in to comment.