GithubHelp home page GithubHelp logo

Comments (5)

richardtape avatar richardtape commented on July 18, 2024 1

I see what you're saying, however, I have to disagree with

In addition many projects depend on mod_rewrite or .htaccess files so Apache is a very common denominator.

Many, many new setups are using nginx as the webserver (and many more use it as a (reverse) proxy). Having that as an option here could only be beneficial.

Compiling newer versions of nginx on deb wheezy is doable. Tricky, but doable.

And, as you say, the web server isn't doing much other than passing requests to php-fcgi so being able to test a basic setup with different web servers would be beneficial.

If you don't want to support it, that's fine, and completely understandable, I'm just not sure I agree with the reasons you gave (and that's probably more to be me misunderstanding them than anything else).

from docker-phpfarm.

splitbrain avatar splitbrain commented on July 18, 2024

To be honest I don't see any advantage of nginx over apache in this project. Especially since the base system is quite old, so you would get an old nginx anyway. The webserver isn't doing much here anyway except passing requests to php-fcgi. In addition many projects depend on mod_rewrite or .htaccess files so Apache is a very common denominator.

What do you think would nginx improve?

from docker-phpfarm.

splitbrain avatar splitbrain commented on July 18, 2024

Again, you didn't provide any advantage of having nginx. Many people use it. true. Many people use apache. Many projects work out of the box with apache (wordpress, dokuwiki, ...). They need special config for nginx (because missing .htaccess and mod_rewrite).

Goal of this project is providing a quick way to test things in different php versions. If you can provide a use case of how adding nginx would help with that goal I'm happy to consider a pull request.

from docker-phpfarm.

richardtape avatar richardtape commented on July 18, 2024

I guess I was hoping to make this more of a generic testing tool. Perhaps that's not the best way forward. Thanks for taking the time to reply. Closing.

from docker-phpfarm.

splitbrain avatar splitbrain commented on July 18, 2024

that's the beauty of docker. each image does one thing well. you could always use a reverse proxy nginx in front of this image...

from docker-phpfarm.

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.