Answer the question
In order to leave comments, you need to log in
Which server OS is more productive for nginx and apache to work together?
The question is most likely stupid, I know the basics of site building that were taught to me at the institute, now I decided to take up (as it seems to me) a promising project, (for one thing, to understand more deeply the topic of how to make a web service, in general I am going to combine self-study and practical knowledge) . Since I plan to make the project work (designed in the future for a large reach of users), I want to take at least the first couple of steps in the right direction, so that in the future, when I gain experience and assemble a team, I have to redo it less.
Well, the very first thing I encountered was the choice of software and OS. With the software, I decided on nginx + apache (frontend and backend), but on which OS is it more correct to place it?
PS Most likely, the question does not stand up to criticism, since the increase is not significant and probably depends on the software versions, their settings, the technical solutions adopted, but still, most likely there are tests or some data about which bundles are more correct and which are less please share)
Answer the question
In order to leave comments, you need to log in
Ubuntu with Nginx (it will probably be more recent there than in other distributions, and this will support HTTP / 2 and some other things).
Throw Apache (the only exception is if you have tons of legacy rules in mod_rewrite that you can't rewrite to Nginx config for some reason or process at the application level (preferred)).
That's just the choice of OS is a secondary matter (well, it's over, if the choice is between Linux distributions, and not Linux / Windows). The OS is much easier to change than the wrong architecture or database.
You didn't get it right from the start.
Both Nginx and Apache are web servers, frontend in your terminology. Backend is PHP, Python, etc. The first thing to do is to throw away Apache altogether unless there is a really good reason for using it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question