docker-symfony icon indicating copy to clipboard operation
docker-symfony copied to clipboard

Can see only Nginx default page and not my app

Open ghost opened this issue 4 years ago • 3 comments

Hello. After I start the image, I open http://127.0.0.1/ and see "Welcome to Nginx" page, but not my app. What am I doing wrong? What should I configure? My environment: Windows 10 pro, Docker Desktop

ghost avatar Apr 08 '21 11:04 ghost

Next, put your Symfony application into symfony folder and do not forget to add symfony.localhost in your /etc/hosts file.

Have you added symfony.localhost in your hosts file? http://symfony.localhost/ should be used instead of http://127.0.0.1/

domeri avatar Apr 30 '21 11:04 domeri

Hi @eko, I'm thinking we could replace the nginx's index.html standard file (/usr/share/nginx/html/index.html) with a customized index.html containing the main links to the services, configuration tips and the useful information for any customizations.

ricfio avatar May 02 '21 23:05 ricfio

I've got the same problem. My Nginx port is 9080. When I use this address http://127.0.0.1:9080/, I see the nginx main page. After clicking the Symfony link, I go to the page http://symfony.localhost/ and I see 404 error. This is my hosts' file: 127.0.0.1 localhost 127.0.0.1 symfony.localhost 127.0.1.1 SC-linuxuser

dawka300 avatar Mar 03 '23 23:03 dawka300