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

Permission Denied #5

Open
tacman opened this issue Oct 10, 2022 · 2 comments
Open

Permission Denied #5

tacman opened this issue Oct 10, 2022 · 2 comments

Comments

@tacman
Copy link

tacman commented Oct 10, 2022

I'm getting a permissions error, two different computers.

glt clone ..
docker-compose up --build 

http://localhost:8080/

403 error.

php_1       | [10-Oct-2022 22:23:45] NOTICE: fpm is running, pid 1
php_1       | [10-Oct-2022 22:23:45] NOTICE: ready to handle connections
nginx_1     | 2022/10/10 22:27:02 [error] 30#30: *1 directory index of "/app/public/" is forbidden, client: 172.31.0.1, server: , request: "GET / HTTP/1.1", host: "localhost:8080"
nginx_1     | 172.31.0.1 - - [10/Oct/2022:22:27:02 +0000] "GET / HTTP/1.1" 403 555 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" "-"
nginx_1     | 2022/10/10 22:27:02 [error] 30#30: *1 open() "/app/public/favicon.ico" failed (2: No such file or directory), client: 172.31.0.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "localhost:8080", referrer: "http://localhost:8080/"
nginx_1     | 172.31.0.1 - - [10/Oct/2022:22:27:02 +0000] "GET /favicon.ico HTTP/1.1" 404 555 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" "-"


@kurakin-oleksandr
Copy link
Contributor

There is no such route / defined in the app. Please check https://github.com/Cap-Coding/symfony_docker/blob/master/config/routes.yaml#L2. There is only only route /api/v1/orders/{id}

@tacman
Copy link
Author

tacman commented Oct 11, 2022

I see. Hmm. Is there documentation on loading fixtures? Obviously, I didn't watch the video, I was just looking for a working setup of Symfony + nginx + postgres.

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

2 participants