I was thinking: Is it possible to forget about httpd and use NginX to server the web-admin? Why is apache prefered to nginx? It is clear that ngiinx is way better than apache, tho apache is used by more people (cause nginx is youngher)
I will be the evil advocate, before to think to replace apache by Nginx, it is better to create the equivalent nethserver-virtualhost, nethserver-php-scl for nginx. People wants to use the mouse, few want to use the command line.
The company I’m at was using Apache, but I’ve replaced it with NginX. It serves the websites faster for us, and it is not complicated at all. Plus it has a built in feature to loadbalance in case of multiple WAN-s out of the box, without HAProxy. In fact, I’ve read that NginX is even better for loadbalancing than HAProxy.
Even in our infrastructure we use Nginx to serve web sites instead of Apache.
But there is no real difference for a server with few websites and medium load and of course this is not the case for the server manager
By the way, you can think to replace httpd instance on port 80/443 with nginx and configure a proxy pass for the server manager. But please note that nginx is not supported by any event or template.
Nginx is already as mature and wildly used in production as apache is.
For me it just simplified stuff and improved performance each and every time.
They also have a commercial product, Nginx Plus.
IIUC the idea is to have apache only for server manager (and when cockpit base one will arrive it won’t be necessary anymore) and nginx for all the web apps…
it is feasible, but it means that all modules that work in apache (ocs, for example) must be reworked to work with nginx… IMVHO, useless
Sometime when you look the amount of work, it is the best way to do nothing, you know what I mean
More seriously when you want to make a scalable web server, nginx is the way…but sure a lot of work is needed for integration.
Apache isnt going anywhere, its still supported, updated and stable. Nginx is certainly slightly better in the sense you can do a fair bit more but there is no reason for nethserver to switch IMO. Something built from the ground up, it would be good to use nginx, something like this, a solid project on centos, doesnt make sense.
Nethserver should not host nextcloud anyways…IMO. Use freenas or another server to do that. My nextcloud is running on nginx, but I am running it in a BSD jail with the freedom to install whatever backend I want. IMO the gateway should be separate from the NAS or file/media storage if at all possible so that the security/firewall is on a dedicated machine.
I like that Nethserver provides an option to easily install Nextcloud.
I didn’t ment to run all on one server, but instead of freenas or something else i would opt for a Nethserver VM, that would run Nextcloud.
You also say you run Nextcloud with Nginx
Good choice
I would opt for both. In terms of storage, you want freenas. In terms of everything else, you want nethserver or proxmox, depending on your need. This my opinion after reviewing most options, ranging from rhel to M$, and from freenas to hp.
For medium business to small enterprise I would recommend a truenas (no ssd) for storage, a freenas for backup, a proxmox for virtualization (with igel tc’s) and nethserver for everything else.
Linux Mint if you can get away with it, win10 otherwise for clients.