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
-
Linux438107y@Ashkin
Nginx is actually not as superior as many claims, ONLY when it comes to static websites with millions of visitors. That when Nginx shines. -
Linux438107yThe vhost in apache2 is MUCH smaller and simple, also Nginx does not support htaccess (BOOOOOH!!!)
-
Root825407y@Linux configuring Nginx is so much nicer than Apache. It also integrates better with thin clients like unicorn/passenger, etc.
-
Root825407y@Linux you don't need .htaccess if your framework has sensible routing. Then again, php does not.
-
Linux438107yBeing a quite big webhost, nginx can not solve our need. Apache does that flawless. And with php-fpm the performance difference is not noticable.
Apache is also better serving dynamic files while nginx does a better job with static files. -
nicholai8937yIf by dynamic you only mean PHP then youre right; but if by dynamic you also mean reverse proxy for a Node.js, Go, Python or C# app you are absolutely, positively wrong.
-
nicholai8937yAnd to prove a point by using your arguments; try looking at the download of your applications and consider the amount of static content actually served. Styles, images, JavaScript, in many cases these are 90% of the total transfer; static files, where nginx shines!
-
Can't do streaming with apache, can't use mod_perl request handlers with nginx, so I use both :)
-
Linux438107y@nbamaral
Using then toghether works great! You have the Speed of nginx and the flexibility of Apache
What kind of streaming btw? -
I like Apache more but im Running my Webserver on a raspberry (not ideal but hey better than nothing) and Apache just eats so much ram. So i am forced to use nginx
-
Linux438107y@Sarcaxxo
Never tried caddy, it looks interesting and I was about to try it for the http2 support but Apache released the module the same Day ;) -
I am Running nginx, mysql, asp.net core, Netdata and a Discord bot on it. All of those dont get to much traffic so its not too much of a Problem for the pi. On asp.core i run a basic api a and a almost static Website with vue and like i said on debian
-
Linux438107y@FetzenNET
Nice :) the first time someone actually uses asp.net core on Linux that I have heard of! I do like it -
@Linux thats pretty sad. Core really changed alot of things people dont liked. Im not trying to Sound like a fanboy but i really enjoy working with it..
-
Linux438107y@IwraStudios
Actually, it seems like it still exist. So you are correct. But apache can handle it better now and it can be resolved with mod_qos.
Slowloris is almost never used anymore thou :) -
Hel8y3377yWe actually use both. Apache as backend webservers, with PHP-FPM. Nginx as a load balancer for dynamic content and Varnish as a caching proxy for static content.
-
@Linux
Sometimes I have to publish live events (conferences or classes) through OBS (open source broadcast system, it can manage multiple audio/video sources).
nginx stream module works great for that (I use dash, ffmpeg does all the transcoding).
Sometimes I proxy nginx through apache, sometimes it's the other way around, to make everything seamless in SSL.
Apache > nginx
undefined