Dockerでnginxを起動させるときに、以下のようなたとえばPHP-FPMへのPorxy設定を行ったConfを設定することはままあるかと思います。(別にPHP-FPMじゃなくてもいいです。) server { listen 80 default; server_name _; root /var/www/html; index index.php index.html index.htm; charset utf-8; access_log off; error_log off; location / { try_files $uri $uri/ /index.php$is_args$args; } location ~ \.php$ { fastcgi_pass ${PHP_APP_HOST}:9000; fastcgi_index index.php; fastcgi_param