Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can see only Nginx default page and not my app #136

Open
ghost opened this issue Apr 8, 2021 · 3 comments
Open

Can see only Nginx default page and not my app #136

ghost opened this issue Apr 8, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 8, 2021

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

@domeri
Copy link

domeri commented Apr 30, 2021

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/

@ricfio
Copy link
Contributor

ricfio commented May 2, 2021

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.

@dawka300
Copy link

dawka300 commented Mar 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants