Nginx is compiled without HTTP/2 (--with-http_v2_module) support on OMV. Owncloud claims better perfomance on webservers having HTTP/2 enabled.
Is there a way to upgrade to a HTTP/2 enabled NGINX with OMV?
Enable HTTP/2 on Nginx
-
- OMV 2.x
- monsen
-
-
You could try what is suggested here:
https://ma.ttias.be/enable-http2-in-nginx/
But........who knows what might get broken. Make a backup of your OMV first.
-
@monsen,
Can let us know the result, if you use it?Add the http2 keywords to your virtualhost configuration.
Code
Alles anzeigenserver { listen 443 ssl http2; server_name your.fqdn.tld; access_log access.log main; error_log error.log error; # Start the SSL configurations ssl on; ssl_certificate /etc/nginx/conf.d/certificate.crt; ssl_certificate_key /etc/nginx/conf.d/certificate.key; # Add any other TLS optimisations like strong ciphers etc ... # ... }
Enabling really is this simple, just change your current ssl-line from this: -
@tinh_x7
If i am really doing this i will let you know.
Not sure if i should take the step right now. Every configuration outside of what is intended by OMV seems to be a pain in the ****
(I actually like the idea of having a frontend to administer my NAS but i am unsure about the flexiblity of it until here.)I worry about the long-term issues resulting out of these manual changes. When the next updates come everything might go to pieces. Also i am still in the process of doing the base setup for me, so doing a lot in parallel.....
besides, and about owncloud:
What is really anyoing me about owncloud is the performance. It got a lot better with some tweaks but still is not good.
So either i will try or might get rid of it. -
OwnCloud is working fine for me.
Just setup the memcache also help it too.I hope somebody in here can confirm whether http/2 is working or not for OMV, owncloud, Plex....
-
After some more screwing here and there here is my opinion: the owncloud idea ist good, the implementation is crap. I got enough of it! Hopefully Future Versions are ging to be better. I will then try again.
I am happy with OMV though. I got a Little angry trying to get owncloud to run but figured it is not OMV causing the main issues.
i will try to replace owncloud with other Services.
therefore i am not trying to get http2 to run for now -
We need a newer version of nginx. I have known this for some time. I wish Volker would upgrade the version even before we get to OMV 3.
But Debian repos are to blame.
Code
Alles anzeigendpkg -l | grep nginx ii nginx 1.2.1-2.2+wheezy3 all small, powerful, scalable web/proxy server ii nginx-common 1.2.1-2.2+wheezy3 all small, powerful, scalable web/proxy server - common files ii nginx-full 1.2.1-2.2+wheezy3 amd64 nginx web/proxy server (standard version) root@omv:~# apt-cache policy nginx nginx: Installed: 1.2.1-2.2+wheezy3 Candidate: 1.2.1-2.2+wheezy3 Version table: 1.6.2-5~bpo70+1 0 100 http://ftp.debian.org/debian/ wheezy-backports/main amd64 Packages *** 1.2.1-2.2+wheezy3 0 500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages 500 http://security.debian.org/ wheezy/updates/main amd64 Packages 100 /var/lib/dpkg/status
-
You can try this... but test it on a vm. You will need the backports kernel installed in OMV Extras.
apt-get -t wheezy-backports install nginx nginx-common nginx-full
-
Pitty, omv3 still running with nginx 1.6.2 two years later ... and http2 support only starts with nginx 1.9.5
-
Pitty, omv3 still running with nginx 1.6.2 two years later
Check your facts... OMV doesn't determine which version is used. OMV 3.x is Debian 8. So, it uses whatever Debian 8 has available. Looking here, 1.10 is in jessie-backports. And you have plenty of other options like using the docker plugin. There is no reason you have to use OMV's nginx. You could also use OMV 4.x
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!