filmov
tv
Sentora with Nginx and Google Page Speed

Показать описание
Sentora with Nginx and Google Page Speed
Google Page Speed Module and Apache Proxy with Nginx in Sentora
Sentora witn NGINX
Sentora is designed to simplify web hosting management, it gives your clients the ability to quickly and easily manage their web hosting.
The PageSpeed modules are open-source server modules that optimize your site automatically.
nginx ‘engine x’ is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev.
________________________________________________________________________
============================================================
Sentora Configuration for using Nginx in front of Apache as reverse proxy with PageSpeed Tools PageSpeed Module on Sentora Panel
A. Getting Ready Server Environment
1. Installing some essential features:
a. $ yum install sudo -y
b. $ yum install nano -y
c. $ yum install curl -y
d. $ yum update
e. $ yum upgrade
2. Testing Net Speed
B. Sentora Panel Installing :
C. Installing Google Page Speed Module for Apache _ Cache Tool & Web Server Extension
1. $ cd /tmp
$ sudo touch /etc/default/mod-pagespeed
$ sudo yum update mod-pagespeed-beta
$ service httpd restart
$ cd
D. Configuration for using NGINX in front of Apache as reverse proxy
Listen Port = 80 to change 8081
VirtualHost * = 8080 to change 8081
E-1. Configure your Sentora Panel
Server Admin - Module Admin _&_ Sentora Config
Apache Port = 80 to change 8081
If any problem with Sentora panel when you add new domain then need Apache Configuration for Add new domain
E-2. Configure your Sentora Panel
Server Admin - Sentora Config
Sentora Config - Sentora Apache Port = 80 to change 8081
F. Installing NGINX & Configure
Now paste the following configurations in it:
$ yum install nginx -y
--------------------------------------------------------------------------------------------------
Find #gzip on; default lines and delete # , and after gzip on; paste the following last 18 lines text data:
--------------------------------------------------------------------------------------------------
gzip on; Place courser | this line Press End button and Press Enter button then paste == Replacing ‘Left Third Bracket‘ == or, ‘Right Third Bracket‘ == the following last 17 lines text data:
=============================================================
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain application/x-javascript text/xml text/css;
gzip_vary on;
server ‘Left Third Bracket‘
listen 80 default_server;
location / ‘Left Third Bracket‘
proxy_set_header Host $host;
‘Right Third Bracket‘
location ~ /\.ht ‘Left Third Bracket‘
deny all;
‘Right Third Bracket‘
‘Right Third Bracket‘
=============================================================
Find the following those lines:
server ‘Left Third Bracket‘
listen 80 default server;
If you want to use only Nginx in front of Apache then don’t change the port to 80. And
$ service httpd restart
$ service nginx start
--------------------------------------------------------------------------------------------------
If Sentora Dose n’t Run Perfectly Please Trying:
Checking Listen Port = 8081 & VirtualHost * = 8081 setup properly
$ service httpd restart
Checking and prove last 17-20 lines text as per sample
$ service nginx start
It’s prove check again and again
more information
Google Page Speed Module and Apache Proxy with Nginx in Sentora
Sentora witn NGINX
Sentora is designed to simplify web hosting management, it gives your clients the ability to quickly and easily manage their web hosting.
The PageSpeed modules are open-source server modules that optimize your site automatically.
nginx ‘engine x’ is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server, originally written by Igor Sysoev.
________________________________________________________________________
============================================================
Sentora Configuration for using Nginx in front of Apache as reverse proxy with PageSpeed Tools PageSpeed Module on Sentora Panel
A. Getting Ready Server Environment
1. Installing some essential features:
a. $ yum install sudo -y
b. $ yum install nano -y
c. $ yum install curl -y
d. $ yum update
e. $ yum upgrade
2. Testing Net Speed
B. Sentora Panel Installing :
C. Installing Google Page Speed Module for Apache _ Cache Tool & Web Server Extension
1. $ cd /tmp
$ sudo touch /etc/default/mod-pagespeed
$ sudo yum update mod-pagespeed-beta
$ service httpd restart
$ cd
D. Configuration for using NGINX in front of Apache as reverse proxy
Listen Port = 80 to change 8081
VirtualHost * = 8080 to change 8081
E-1. Configure your Sentora Panel
Server Admin - Module Admin _&_ Sentora Config
Apache Port = 80 to change 8081
If any problem with Sentora panel when you add new domain then need Apache Configuration for Add new domain
E-2. Configure your Sentora Panel
Server Admin - Sentora Config
Sentora Config - Sentora Apache Port = 80 to change 8081
F. Installing NGINX & Configure
Now paste the following configurations in it:
$ yum install nginx -y
--------------------------------------------------------------------------------------------------
Find #gzip on; default lines and delete # , and after gzip on; paste the following last 18 lines text data:
--------------------------------------------------------------------------------------------------
gzip on; Place courser | this line Press End button and Press Enter button then paste == Replacing ‘Left Third Bracket‘ == or, ‘Right Third Bracket‘ == the following last 17 lines text data:
=============================================================
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain application/x-javascript text/xml text/css;
gzip_vary on;
server ‘Left Third Bracket‘
listen 80 default_server;
location / ‘Left Third Bracket‘
proxy_set_header Host $host;
‘Right Third Bracket‘
location ~ /\.ht ‘Left Third Bracket‘
deny all;
‘Right Third Bracket‘
‘Right Third Bracket‘
=============================================================
Find the following those lines:
server ‘Left Third Bracket‘
listen 80 default server;
If you want to use only Nginx in front of Apache then don’t change the port to 80. And
$ service httpd restart
$ service nginx start
--------------------------------------------------------------------------------------------------
If Sentora Dose n’t Run Perfectly Please Trying:
Checking Listen Port = 8081 & VirtualHost * = 8081 setup properly
$ service httpd restart
Checking and prove last 17-20 lines text as per sample
$ service nginx start
It’s prove check again and again
more information
Комментарии