After docker builds nginx PHP, how to deal with the blank display in accessing PHP files?

Alibaba cloud Q & A 2022-02-13 06:14:05 阅读数:511

docker builds nginx php deal

docker build nginx php After the visit php Show blank files image.png What is the situation ?

Take the answer 1:

Hello! , This situation is generally in nignx.conf The corresponding mapping directory specified or the corresponding directory created by the container cannot be mapped , Please check the mapping .

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you.