symfony_docker
symfony_docker copied to clipboard
Permission Denied
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" "-"
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}
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.