NGINX vs Apache
-
Is there a reason to choose one over the other?
-
Assuming you are just spinning up a web server for content? no.
Almost no normal site will encounter any of the differences in the two web server stacks.
If you are spinning up an application like Nextcloud, that supports both choices, go with the default choice of the developers.
For Nextcloud, that is Apache. Not that Nginx doesn't work, because it does. But just because that is what the developers use.
-
Generally, yes. Each is good at different things. For things like PHP workloads, Apache tends to be a bit better. For things like reverse proxies, Nginx tends to be a bit better.
Some deployments assume one or the other.
And many (most?) bit commercial deployments use both to split duties because they have different strengths.
-
I have been using APache for a long time but Nginx is pretty good too (I have been using Ngnix for SSL Proxy) and Apache for my normal web hosting.
-
I've always defaulted to NGINX since it's lighter weight and a little more flexible. I just use PHP-FPM when I needed PHP support. But I've been using Traefik more and more these days.
-
@stacksofplates said in NGINX vs Apache:
I've always defaulted to NGINX since it's lighter weight and a little more flexible. I just use PHP-FPM when I needed PHP support. But I've been using Traefik more and more these days.
"Tree-Fick" is a bizarre thing to say.
-
Does Apache have a paid version? I know that nginx reverse proxy is free, but the web server (at least used to be) a paid product.
-
@wrx7m said in NGINX vs Apache:
but the web server (at least used to be) a paid product.
You are incorrect.
-
@wrx7m said in NGINX vs Apache:
Does Apache have a paid version? I know that nginx reverse proxy is free, but the web server (at least used to be) a paid product.
Apache is totally free. Nginx is free for all normal purposes, it is advanced features that I've never even thought of wanting that are paid.
-
@scottalanmiller said in NGINX vs Apache:
@wrx7m said in NGINX vs Apache:
Does Apache have a paid version? I know that nginx reverse proxy is free, but the web server (at least used to be) a paid product.
Apache is totally free. Nginx is free for all normal purposes, it is advanced features that I've never even thought of wanting that are paid.
Ahh. Ok. I misconstrued those features as being the entire product.