Tag: reactphp

ReactPHP和docker:无法将主机从phpparsing到nginx容器

我使用docker和微服务。 想象一下,我们有3个服务: user API / gateway API \ hotel API 请求通过服务的网关。 我有容器与php和nginx ,其中卷是相同的。 接下来我给出configuration列表: server { server_name gateway.api.loc; root /var/www/der-ibe/ibe-gateway-api/web; client_max_body_size 32m; location / { try_files $uri @rewriteapp; } location @rewriteapp { rewrite ^(.*)$ /app.php/$1 last; } location ~ ^/(app|app_dev|config)\.php(/|$) { … } } server { server_name hotel.api.loc; root /var/www/der-ibe/ibe-hotel-api/web; client_max_body_size 32m; location / { […]