GithubHelp home page GithubHelp logo

Comments (4)

TrafeX avatar TrafeX commented on May 28, 2024

Hi @ashishkpal,

Can you post the output of docker info? I suspect you're running a very old version of Docker.

from docker-php-nginx.

TrafeX avatar TrafeX commented on May 28, 2024

I'm going to close this issue due to inactivity. If you still encounter this issue, please let me know so I can re-open it!

from docker-php-nginx.

dronezzzko avatar dronezzzko commented on May 28, 2024

Actually, I have the same problem:

wget -c https://github.com/symfony/demo/archive/refs/tags/v1.7.1.tar.gz -O - | tar -xz
cd demo-1.7.1 && composer install
docker run -p 8080:8080 -v ~/demo-1.7.1:/var/www/html trafex/php-nginx

http://localhost:8080/ returns 403 Forbidden

In logs I see:

2021-07-12 21:56:07,419 INFO supervisord started with pid 1
2021-07-12 21:56:08,422 INFO spawned: 'nginx' with pid 7
2021-07-12 21:56:08,423 INFO spawned: 'php-fpm' with pid 8
[12-Jul-2021 21:56:08] NOTICE: fpm is running, pid 8
[12-Jul-2021 21:56:08] NOTICE: ready to handle connections
2021-07-12 21:56:09,441 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-07-12 21:56:09,441 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021/07/12 21:56:14 [error] 9#9: *1 directory index of "/var/www/html/" is forbidden, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", host: "localhost:8080"
172.17.0.1 - - [12/Jul/2021:21:56:14 +0000] "GET / HTTP/1.1" 403 186 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36" "-" 0.000 - . -

from docker-php-nginx.

TrafeX avatar TrafeX commented on May 28, 2024

@dronezzzko I replied on your issue: #67

from docker-php-nginx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.