msrumon / nginx-and-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nginx & PHP

I can't make nginx work with PHP. Here I'm trying to make nginx act as a reverse proxy server for PHP, but the server crashes with host not found in upstream "php" in /etc/nginx/conf.d/default.conf:14 error.

Steps

Run the following command in the terminal:

docker compose up -d server

About

License:MIT License


Languages

Language:PHP 100.0%