Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
nginx' configs are not as straightforward for me as Apache's. As long as I never need a high-performance setup, I use Apache.
-
sigfried5366yGo for nginx. Apache is like chrome. It eats a lot of RAM. And Nginx has way better performance (higher connection amount)
-
th4t6616yWell, generally speaking Apache is powerful, it can be used in development phases but it also has good performance on production environment. In the other hand I personally think that nginx has better performance in production (if you're able to configure it properly), it exposes a good configuration interface in working with virtual servers (in the case you need to serve multiple sites on the same machine) and finally it has a very mature load balancing and cacheing architecture.
-
Both, depending on what you need.
You can always proxy one through the other and get the best of two worlds. -
Wombat105826y@linuxxx sure. I know about the benefits. But I'm not that linux guru you are and I'm afraid of the configuration. Do you remember helping me on Apache? 😓
-
-
Wombat105826y@linuxxx I probably will give it a try soon. I am going to rent a droplet at Digital Ocean.
-
Nginx reverse proxy before an Apache. That gives the performance of Nginx together with the ease of Apache's htaccess.
-
C0D4681466yIf you need high performance, nginx
For everything else, there’s Apache + scalable servers and a load balancer. -
Linux438106yApache with MPM - almost same performance as nginx and easier to configure.
If you need .htaccess - apache is the one. -
@Wombat 300$ of free trial on google cloud dude 😉
I'll vote for CADDYYYYY
But nginx>am imo, it's so easy to configure + to use with certbot (for https) -
Root825086yBoth work well, so it depends on what you're comfortable with, but pick nginx.
It has a slightly steeper learning curve, but it's definitely worthwhile. Also: better performance. -
arginine3516yNginx. Felt like there was a steep learning curve when I first started working on it but was simple once l got the hang of it...
Related Rants
Apache or Nginx?
question
decisions