-
-
Notifications
You must be signed in to change notification settings - Fork 992
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
index of "/etc/nginx/html/" is forbidden 403 forbiddan error how to resolve #354
Comments
I had the same problem. Probably you have to edit your docker-compose.dev.yml to fix it. This is my yml: |
Hello Stefan,
Thanks for the update, but just let me know what kind of changes are
required in docker-compose.dev.yml file.
Thanks & Regards
…On Mon, Dec 14, 2020, 2:23 PM Stefan Römmele ***@***.***> wrote:
I had the same problem. Probably you have to edit your
docker-compose.dev.yml to fix it. This is my yml:
docker-compose.dev.zip
<https://github.com/markshust/docker-magento/files/5687588/docker-compose.dev.zip>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#354 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGGAWZ47L2RLGDNBLMX47L3SUXHAHANCNFSM4U2G3ZLA>
.
|
if you can let me know what kind of changes are required in docker-compose-dev.yml file If you can provide me guide it is so helpful for something is urgent please help me |
Just make a diff of both files. As far is I know, you only need to remove line 11 - 25, and remove # on line 26. |
Little confusion here please clear that |
The problem for me was that the Magento installation was not complete. Installed using composer but something must have failed since src directory did not contain all of Magento files. Once I installed correctly this particular error was gone. So for me it was to make sure that all host Magento files like app/ bin/ are there. Afterwards ran the bin/setup once again and everything was fine. |
Closing out as I cannot replicate this issue. Perhaps your nginx.conf.sample or nginx.conf file in the Magento root is missing. |
I faced the same issue, For me, my nginx.conf was empty, I had to copy the nginx.conf.sample contents to the actual file for it to work. |
That shouldn't be needed, so long as the Many delete this file though, which could definitely cause this issue. |
Yes indeed, needed running bin/setup for me as well. |
@markshust hi! [error] 29#29: *1 directory index of "/etc/nginx/html/" is forbidden, client: 172.23.0.1, server: , request: "GET / HTTP/2.0", host: "172.17.0.1" |
@ESCA7A the default web server path changed many years ago to |
okay, thanks a lot :) |
@ESCA7A How did you fix that error? which file a need to change and how to do that ? |
Description
Steps To Reproduce
1.
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: