Docker Community Forums

Share and learn in the Docker community.

PHP Return Download

Please help me to solve my problem, this is my first time using docker. I’m trying to build LEMP via docker on ubuntu, but I’d like to access subdomain #1 (first.docker.test) instead of port #2 (docker.test:13001).

The problem is, when I’m accessing php file on browser with subdomain #1, it returns download file.

And it return what it supposed to show when i’m using port #2.

I just want to get return like what php should do by accessing without spesification port #1.