News for hackers. Stuff that matters.
Re:Do svidaniya, Igor, and thank you for Nginx by achillean on Tuesday January 18, 2022 @10:46PM (#29989729)
In January 2021, Nginx took over Apache as the #1 web server on the Internet that users can install:

https://i.imgur.com/pjU1G61.png

https://trends.shodan.io/search?query=http+port%3A443#facet/...

I'm a bit surprised it didn't happen earlier as it feels like it's been the dominant choice for tech people.

Re:Do svidaniya, Igor, and thank you for Nginx by oefrha on Wednesday January 19, 2022 @01:07AM (#29990530)
Too many shared hosts with LAMP not updating their stack in ages, I suppose.
Re:Do svidaniya, Igor, and thank you for Nginx by vallavaraiyan on Wednesday January 19, 2022 @12:18AM (#29990261)
Wordpress had some say in this i think.
Re:Do svidaniya, Igor, and thank you for Nginx by berkes on Wednesday January 19, 2022 @05:08AM (#29991798)
Definitely.

I've founded and grew several webhosters, one specialised in WordPress. Our HTTP stack was varnish->nginx(loadbalancer)->nginx->phpfpm.

It was pain. Not even WordPress core could (can?) run all its features; e.g. the SEO-friendly-URL thing relied (relies?) heavily on - I kid you not - rewriting the .htaccess file from the CMS: really: the CMS rewriting webserver configuration files from the web.

Let alone all the plugins and themes. The community of plugin and theme devs is generally professional, but there is a staggering amount of stupidity found. Like a payment-processing plugin that would write all its payments into [bankaccount-number].txt files. Web-readable. Obviously a severe security breach for one of our clients. The plugin-devs reaction? "Not a bug: we include a .htaccess that denies access to those text-files. So no-one can read them but the plugin". I can't even...

Point being: WordPress is highly coupled to Apache. If you want smooth experience of hosting, just go for Apache. Or don't use WordPress. I'd advise the latter.

Re:Do svidaniya, Igor, and thank you for Nginx by the-dude on Wednesday January 19, 2022 @10:11AM (#29994559)
I don't recognize anything about the WP Apache marriage.
Re:Do svidaniya, Igor, and thank you for Nginx by berkes on Thursday January 20, 2022 @03:06PM (#30013990)
With nginx becoming more popular this may have changed.

But I just looked, and the official lesson on "installing wordpress" mentions only Apache[0]. As does the "how to install WordPress"[1]. Though checking a recent download, I see that it no longer ships with .htaccess by default, so apparently things are changing.

[0] https://learn.wordpress.org/lesson-plan/local-install/ [1] https://wordpress.org/support/article/how-to-install-wordpre...