Comments (5)
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.
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.
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.
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.
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)
- xdebug? HOT 2
- PHP DEBUG versions HOT 12
- docker-compose example HOT 2
- do not use default host on port 80 HOT 1
- set up remote debugging for xdebug HOT 1
- configure php error logging
- Integrate with CircleCI HOT 7
- xdebug in php 7.1 HOT 5
- how enable shorttag? HOT 3
- how see the apache error HOT 1
- Commands executed as root HOT 1
- xdebug vscode macos debugging not working
- virtual hosts HOT 1
- php ini not being parsed on latest build
- php 8 HOT 2
- php mail
- New release on dockerhub?
- Can't connect to local MySQL server through socket HOT 1
- include opcache HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-phpfarm.