Control Web Panel
WebPanel => Apache => Topic started by: zhakal on June 06, 2017, 05:22:40 PM
-
Running the Apache 2.4.25, PHP 7.0.19.
Is there are way to get HTTP2 and/or SPDY working with CWP?
When looking, the HTTP2 and SPDY are not in the usual compiled version.
Reason is to get down the First Time To Reply which is very slow when running normal HTTP and be up to date with latest technology.
-
Anybody know how to enable / compile this in?
This will make the First Time To Reply go drastically down.
-
Apparently it can be done with "--enable-http2" but don't know where the Apache source is, so I can see if every dependency is there on a Centos6 installation.
https://httpd.apache.org/docs/2.4/howto/http2.html
-
hello
upon many requests for http2 we're started testing on cwp and we're managed it to working, we're still working on it this will take some more time before we release it to public.
working :
autossl/LE certs
not working:
didn't find it yet
-
This is awesome Sandeep!
CWP will be hosting much faster pages with this enabled. It's going to help the speed a lot.
-
How is the progress on this? Any release near?
-
Any updates about this ? thanks
-
I've seen a new update for CWP.
Does this include HTTP2 or SPDY, or is it not ready yet for production environments?
If it is, how should the Apache be re-compiled to get all the needed modules?
-
Hello,
here I have same question after latest update of CWP7pro (bought it for one of VPS machines that is running in production)
When it would be released HTTP/2 support in Apache for CWP users because it would help to one user which now in dev machine have HTTP/2 manually compiled and it works fine, but now want it in CWP so it can go live on production VPS.
-
+1
I would like to have http/2 as well. Most other control panels do have it all ready. :-X
-
I don't understand why but module mod_http2.so not found in /usr/local/apache/modules/. Why, and how how to set it up correctly.
When I rebuild apache and add config '--enable-http2' apache not rebuilding
-
This tutorial helped me - http://forum.centos-webpanel.com/apache/(tutorial)-apache-http2-module/
-
The guide specifies how to do it when using NGINX, but a guide for doing it with Apache 2.4.2X would help as not everybody has the possibility to install NGINX without breaking a lot of functionality.
If I could install NGINX without issues, then this guide would be perfect. But since I cannot, then I had to create this thread :)
-
the best would be that you wait for new cwp as it has it integrated for centos 7 with nginx for http & https.
next version is 360 for cwp el7.
-
on new version you can easily enable http2 on nginx (nginx + apache)
-
on new version you can easily enable http2 on nginx (nginx + apache)
But how??? there is no info on wiki, or the forum...
-
if you have centos 7 and nginx then simply modify template for nginx https
in cwp admin
IP:2030/admin/index.php?module=vhost_tpl
replace in section "nginx_proxy_vhost_ssl"
listen YOURSERVERIP:NGINXPORT;
with
listen YOURSERVERIP:NGINXPORT ssl http2;
then go to webservers in cwp.admin and click on save and rebuild configuration
-
Thanks!!!
Can I also edit nginx_proxy_vhost to force https?
return 301 https://$host:443$request_uri;
Not sure where to insert it, but I think here
server {
listen YOURSERVERIP:NGINXPORT;
return 301 https://$host:443$request_uri;
access_log /var/log/nginx/access.YOURDOMAIN.log;
-
yes, you can but this could cause you issues with the renewal of autossl certificates and domains without ssl will not work then.
-
I want http2 without nginx.
Is there any plan to use http2 from Apache ?
-
http://forum.centos-webpanel.com/how-to/enable-mod_http2-support-for-apache-in-cwp/msg18652/?topicseen#msg18652
-
I want http2 without nginx.
Is there any plan to use http2 from Apache ?
https://www.mysterydata.com/how-to-enable-http-2-for-apache-in-cwp-with-mod_http2-module/
-
https://www.mysterydata.com/how-to-enable-http-2-for-apache-in-cwp-with-mod_http2-module/ (https://www.mysterydata.com/how-to-enable-http-2-for-apache-in-cwp-with-mod_http2-module/)
Ok, I’ve finished this tutorial but still get negative when testing one of my sites.
Was it ok if I’ve followed this tutorial on a server built with Apache+Nginx+Varnish?
-
https://www.mysterydata.com/how-to-enable-http-2-for-apache-in-cwp-with-mod_http2-module/ (https://www.mysterydata.com/how-to-enable-http-2-for-apache-in-cwp-with-mod_http2-module/)
Ok, I’ve finished this tutorial but still get negative when testing one of my sites.
Was it ok if I’ve followed this tutorial on a server built with Apache+Nginx+Varnish?
use this tutorial
https://www.mysterydata.com/how-to-enable-http-2-on-cwp7-centos-web-panel/