<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Server &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/web-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Fri, 25 Sep 2020 08:10:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Web Server &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Configurate SSL Certificate on Apache2</title>
		<link>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-apache2/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-apache2/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 22 Sep 2020 07:29:29 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2191</guid>

					<description><![CDATA[After successfully installing the ssl certificate Let’s Encrypt, you need to download the files located in the “ZIP” folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link:&#160;&#160;https://hostry.com/solutions/ssl-for-free/ You need to open the folder with the files needed to install [&#8230;]]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image"><img width="893" height="510" src="https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main.png" alt="" class="wp-image-2193" srcset="https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main.png 893w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-300x171.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-768x439.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-50x29.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-600x343.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-320x183.png 320w" sizes="(max-width: 893px) 100vw, 893px" /></figure>



<p>After successfully installing the ssl certificate Let’s Encrypt, you need to download the files located in the “ZIP” folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link:&nbsp;&nbsp;<a href="https://hostry.com/solutions/ssl-for-free/">https://hostry.com/solutions/ssl-for-free/</a></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="729" src="https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729.png" alt="" class="wp-image-2196" srcset="https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729.png 1024w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-300x213.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-768x546.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-50x36.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-920x655.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-600x427.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-320x228.png 320w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN.png 1092w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>You need to open the folder with the files needed to install the certificate. They need to copy them in a text editor.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="312" src="https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-1024x312.png" alt="" class="wp-image-2199" srcset="https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-1024x312.png 1024w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-300x91.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-768x234.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-50x15.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-920x280.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-600x183.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-320x98.png 320w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp.png 1664w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Then, issuing the certificate you will need to configure Apache. To configure Apache2, you must save the primary, intermediate certificate and private key to a folder on the server.</p>



<p>After, you need to open the Apache configuration file in a text editor. Apache configuration files are usually stored in&nbsp;<strong>/etc/httpd/</strong>&nbsp;or&nbsp;<strong>/etc/apache2/</strong>. The main configuration file is usually called&nbsp;<strong>httpd.conf</strong>&nbsp;or&nbsp;<strong>apache2.conf</strong><br></p>



<p>If You need the site to be accessible via a secure connection&nbsp;<em><strong>(</strong></em><strong><em>HTTPS)</em></strong>&nbsp;and also through an unsecured connection<strong><em>&nbsp;(HTTP)&nbsp;</em></strong>You will need to create a virtual host for each type of connection. Copy the existing virtual host for the http connection and change the port from 80 to 443.</p>



<p>Then in this case You need to add the following:</p>



<pre class="wp-block-code"><code>&lt;VirtualHost 192.168.0.1:443>
     DocumentRoot /var/www/website
     ServerName www.domain.com
     SSLEngine on
     SSLCertificateFile /etc/ssl/crt/certificate.crt
     SSLCertificateKeyFile /etc/ssl/crt/private.key
     SSLCertificateChainFile /etc/ssl/crt/ca_bundle.crt
     &lt;/VirtualHost> </code></pre>



<ol><li><strong>SSLCertificateFile</strong>&nbsp;should be your primary certificate file for your domain name.</li><li><strong>SSLCertificateKeyFile</strong>&nbsp;should be the key file generated when you created the&nbsp;<a href="https://www.sslshopper.com/what-is-a-csr-certificate-signing-request.html">CSR</a>.</li><li><strong>SSLCertificateChainFile</strong>&nbsp;should be the intermediate certificate file (if any) that was supplied by your certificate authority</li></ol>



<p>After a successful configuration, you must save the changes (Ctrl+S).<br>It is best to test the configuration in advance for various syntax errors, otherwise Apache simply will not start.</p>



<p>In Finish, restart Apache, using the command:</p>



<pre class="wp-block-code"><code>systemctl restart apache2﻿</code></pre>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-apache2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Configurate SSL Certificate on Nginx</title>
		<link>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-nginx/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-nginx/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 25 Sep 2020 08:10:23 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2210</guid>

					<description><![CDATA[After successfully installing the SSL certificate&#160;Let’s Encrypt, you need to download the files located in the&#160;“ZIP”&#160;folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link: &#160;https://hostry.com/solutions/ssl-for-free/ Then, issuing the certificate you will need to configure Nginx . You must save [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>After successfully installing the SSL certificate<strong>&nbsp;Let’s Encrypt</strong>, you need to download the files located in the&nbsp;<strong>“ZIP”&nbsp;</strong>folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link: &nbsp;<a href="https://hostry.com/solutions/ssl-for-free/">https://hostry.com/solutions/ssl-for-free/</a></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="729" src="https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-1024x729.png" alt="" class="wp-image-2211" srcset="https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1.png 1024w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-300x214.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-768x547.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-50x36.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-920x655.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-600x427.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-320x228.png 320w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Then, issuing the certificate you will need to configure Nginx . You must save the primary, intermediate certificates and private key to a folder on the server</p>



<p>After that, you need to open the nginx configuration file. Usually, it is located in the following way:&nbsp;<strong>/etc/nginx/sites-available.</strong>&nbsp;As a rule, the file should be called&nbsp;<strong>default</strong>.</p>



<p><strong>IMPORTANT!</strong></p>



<p>You need to create two independent configurations for the HTTP and HTTPS protocols. A domain must address both protocols. If you do not register the connection via HTTPS, then your site will not be protected, and if it will not be registered through HTTP, the site will not open.</p>



<p>In the default configuration file you need to make changes. In order for your HTTPS to be present in the configuration file, you need to specify the following:</p>



<pre class="wp-block-code"><code>server {
 listen              443 ssl;
 server_name         www.example.com;
 ssl_certificate     etc/ssl/ctr/ca_bundle
 ssl_certificate_key etc/ssl/crt/private.key

 ...</code></pre>



<p>*In this case,&nbsp;<strong>server_name</strong>&nbsp;is your existing domain (site), where both port 80 and port 443 will be referred to.</p>



<ul><li><strong>Ca_bundle</strong>&nbsp;– Public server certificate. It is sent to each client connecting to the server</li><li><strong>Private.key</strong>&nbsp;– The private key should be stored in a file with limited access (permissions should allow the main nginx process to read this file).</li></ul>



<p>After configuration, you must restart <strong>nginx</strong>:</p>



<pre class="wp-block-code"><code>systemctl restart nginx</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-nginx/feed/</wfw:commentRss>
			<slash:comments>460</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Puthon 3.7 on Arch Linux Web Server</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-puthon-3-7-on-arch-linux-web-server/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-puthon-3-7-on-arch-linux-web-server/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 07 Feb 2020 15:04:59 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1371</guid>

					<description><![CDATA[This guide will help you install Python on Arch Linux. For this you need: Hostry vps Server running on Arch Linux, running Apache or Nginx web server, access to sudo and also installed text editor. Install Python 3.7 on your web server On Nginx To use Python 3.x (any version), [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>This guide will help you install Python on Arch Linux. For this you need: <strong><em><a href="https://hostry.com/products/vps/">Hostry vps Server</a></em></strong> running on Arch Linux, running Apache or Nginx web server, access to sudo and also installed text editor. </p>



<h2 id="install-python-3-7-on-your-web-server" >Install Python 3.7 on your web server </h2>



<p>On Nginx</p>



<p>To use Python 3.x (any version), you must enter the following:  </p>



<pre class="wp-block-code"><code># pacman -S uwsgi-plugin-python</code></pre>



<h2 id="test-python" >Test python </h2>



<p>In the appropriate <strong>test.py</strong> directory, the contents are listed below: </p>



<pre class="wp-block-code"><code>#-*- coding: utf-8 -*-
def wsgi_app(environment, start_response):
    import sys
    output = sys.version.encode('utf8')
    status = '200 OK'
    headers = [('Content-type', 'text/plain'),
               ('Content-Length', str(len(output)))]
    start_response(status, headers)
    yield output

application = wsgi_app</code></pre>



<p>On Apache </p>



<p>Add <strong><em>/etc/httpd/conf/httpd.conf</em></strong> to the end or edit the corresponding configuration file and then add to the corresponding &lt;VirtualHost&gt; block:</p>



<pre class="wp-block-code"><code>WSGIScriptAlias /wsgi_app /srv/http/test.py</code></pre>



<p>Restart Apache</p>



<pre class="wp-block-code"><code># systemctl restart httpd</code></pre>



<p>Follow the link in the browser <strong>http:// YOUR-SERVER-WEB-ADDRESS-OR-IP/wsgi_app</strong> and you can see a text page with all versions of Python and GCC.</p>



<p>Delete the <strong><em>test.py</em></strong> test file you just created and <strong><em>WSGIScriptAlias ​​</em></strong>in your Apache configuration.</p>



<p>On Nginx</p>



<p>Create the file<strong> /etc/uwsgi/wsgi_app.ini </strong>with the following contents:</p>



<pre class="wp-block-code"><code>[uwsgi]
socket = /run/uwsgi/wsgi_app.sock
uid = http
gid = http
plugins = python
chdir = /usr/share/nginx/html/
wsgi-file=test.py
callable = application</code></pre>



<p>Start service <strong>uWSGI wsqi_app:</strong></p>



<pre class="wp-block-code"><code># systemctl start uwsgi@wsgi_app</code></pre>



<p>You need to give Nginx permission to use uWSGI by editing <strong>/etc/nginx/nginx.conf</strong>, and for each server block that you want to test, add the following. Alternatively, if you use virtual hosts, edit the configuration file for each host:</p>



<pre class="wp-block-code"><code>location ~ \wsgi_app {
    root /usr/share/nginx/html/;
    include uwsgi_params;
    uwsgi_pass unix:/run/uwsgi/wsgi_app.sock;
}</code></pre>



<p>Restart Nginx:</p>



<pre class="wp-block-code"><code># systemctl restart nginx</code></pre>



<p>Visit your web browser, <strong>http://YOUR-SERVER-WEB-ADDRESS-OR-IP/wsgi_app </strong>and you will see a test page with versions of Python and GCC.</p>



<p>Delete the test.py file you just created and the location block you just added<strong> /etc/nginx/nginx.conf to wsgi_app.</strong></p>



<p>Restart Nginx</p>



<pre class="wp-block-code"><code># systemctl restart nginx</code></pre>



<p>Stop serving<strong> uWSGI wsgi_app:</strong></p>



<pre class="wp-block-code"><code># systemctl stop uwsgi@wsgi_app</code></pre>



<p>In the final episode, you need to delete<strong> /etc/uwsgi/wsgi_app.ini</strong>, test files, who you created earlier. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-puthon-3-7-on-arch-linux-web-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Protect Apache Web Server on CentOS 7</title>
		<link>https://help.hostry.com/knowledge-base/how-to-protect-apache-web-server-on-centos-7/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-protect-apache-web-server-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 29 Aug 2019 12:41:21 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=603</guid>

					<description><![CDATA[In case, when an attacker gets access to your server, you may lose all data. If at the initial stage you use simple installations, you still need to secure your server. Install Web Server The first thing we offer you is installing a web server yum install httpd php Personal [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>In case, when an attacker gets access to your server, you may lose all data. If at the initial stage you use simple installations, you still need to secure your server.</p>



<h2 id="install-web-server" >Install Web Server</h2>



<p>The first thing we offer you is installing a web server</p>



<p><code>yum install httpd php</code></p>



<h2 id="personal-home-directory-protection" >Personal Home Directory Protection</h2>



<p>The following is protection for your home directories. The first thing to understand is that the directories of other users are classified and not visible to anyone, except for the owners, respectively. </p>



<p>We suggest you change all directories to 700; this is to ensure that only the appropriate home directory owners can view their own files</p>



<pre class="wp-block-code"><code>chmod 700 /home
chmod 700 /home/*
chmod 700 /home/*/*</code></pre>



<h2 id="apply-security-patch-for-the-apache-to-split-user-privileges" >Apply security patch for the Apache to split user privileges</h2>



<p>The first thing to learn we need to first install the repository containing the package with the patch. Run the following commands as root or sudo</p>



<pre class="wp-block-code"><code>yum install epel-release
yum install httpd-itk</code></pre>



<p>Through “<strong>apache2-mpm-itk</strong>” we can see which PHP user should run depending on the virtual host. It adds a new extension in the configuration of <strong><em>AssignUserId virtualhost-user virtualhost-user-group</em></strong>, which allows Apache / PHP to execute user code under a specific user account.</p>



<h2 id="%d1%81reate-a-virtual-host" >Сreate a virtual host </h2>



<p></p>



<p>To<strong> create a virtual host </strong>in Apache, you can follow this example, which is presented below (for example, taken example.com)</p>



<p></p>



<pre class="wp-block-code"><code>NameVirtualHost example.com

&lt;VirtualHost example.com>

DocumentRoot /home/vhost-user/public_html
ServerName example.com
&lt;/VirtualHost></code></pre>



<p>Next, open the text editor <strong>/etc/httpd/conf.d/example-virtualhost.conf</strong> and add the contents above. Here is the command to use nano:</p>



<p><code>nano /etc/httpd/conf.d/example-virtualhost.conf </code></p>



<h2 id="configure-apache-web-server-to-run-as-another-user" >Configure Apache Web Server to run as another user</h2>



<p>After  launched the protection of the Apache / PHP server, the following should be added:</p>



<pre class="wp-block-code"><code>AssignUserId vhost-user vhost-user-group</code></pre>



<p>This will look like an example of a virtual host, after the option is added:</p>



<pre class="wp-block-code"><code>NameVirtualHost example.com

&lt;VirtualHost example.com>

DocumentRoot /home/vhost-user/public_html
ServerName example.com
AssignUserId vhost-user vhost-user-group

&lt;/VirtualHost></code></pre>



<p>Next, you need to Hide the version of Apache. To do this, enter the command:</p>



<pre class="wp-block-code"><code>nano /etc/httpd/conf/httpd.conf</code></pre>



<p>Then in the line “<strong>ServerTokens</strong>” change the parameter after it to “<strong>ProductOnly</strong>”. This tell to Apache only to show that it is “<strong>Apache</strong>” and not “<strong>Apache / 2.2</strong>” or something like that</p>



<p></p>



<p>At the end, restart the Apache server</p>



<pre class="wp-block-code"><code>service httpd restart</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-protect-apache-web-server-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Opportunities Of Speed ​​Upping NGINX web server on CentOS</title>
		<link>https://help.hostry.com/knowledge-base/opportunities-of-speed-%e2%80%8b%e2%80%8bupping-nginx-web-server-on-centos/</link>
					<comments>https://help.hostry.com/knowledge-base/opportunities-of-speed-%e2%80%8b%e2%80%8bupping-nginx-web-server-on-centos/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 06 Sep 2019 09:16:18 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=646</guid>

					<description><![CDATA[This manual describes how to speed up the operation of this web server, and we are talking about CentOS 6 and 7 versions. It is also suitable for both 32-bit and 64-bit architecture Initial stage The first thing you should start with is backing up the old configuration and all [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>This manual describes how to speed up the operation of this web server, and we are talking about CentOS 6 and 7 versions. It is also suitable for both 32-bit and 64-bit architecture</p>



<h2 id="initial-stage" >Initial stage</h2>



<p>The first thing you should start with is <strong>backing up the old configuration and all its data</strong>. Having done this, you can use the following command</p>



<pre class="wp-block-code"><code>cd ~
mkdir nginx
cp -r /etc/nginx ~/nginx</code></pre>



<p>Next is the removal of the Nginx web server itself</p>



<p><code>yum remove nginx </code></p>



<p>Next up is the installation of OpenSSL and all its dependencies</p>



<p><code>yum install zlib-devel pcre-devel openssl libssl-devel make gcc gcc-c++ -y </code></p>



<h2 id="compiling-nginx" >Compiling Nginx</h2>



<p><strong>Important! </strong>You need to use wget in order to be able to get the source code of <em>Nginx</em></p>



<p><code>cd ~ wget https://nginx.org/download/nginx-1.8.0.tar.gz </code></p>



<p>Following is the unpacking of the archive</p>



<p><code>tar -xvf nginx-1.8.0.tar.gz</code></p>



<p>Next step is the assembly and installation of the Nginx web server</p>



<p><code>cd ~/nginx-1.8.0 ./configure --with-http_spdy_module --with-http_ssl_module --with-http_gzip_static_module make install</code></p>



<p>Configuring Nginx as a working service.  For this, it is recommended to use a third-party script from GitHub for the <em><strong>init.d</strong></em> service</p>



<p><code>cd /etc/init.d wget https://gist.githubusercontent.com/sairam/5892520/raw/b8195a71e944d46271c8a49f2717f70bcd04bf1a/nginx chmod +x nginx</code></p>



<h2 id="configuring-nginx" >Configuring Nginx</h2>



<p>At this point you can move the old configuration back to the folder в <strong>/etc/nginx</strong></p>



<p>Web server loading</p>



<p><code>service nginx start </code></p>



<p>Nginx Configuration Editing</p>



<p> <code>vi /etc/nginx/nginx.conf </code></p>



<p>In the<strong> &#8220;http&#8221;</strong> block, you need to add the following:</p>



<p><code>gzip_vary on; </code></p>



<p><code>gzip_proxied any; </code></p>



<p><code>gzip_comp_level 6; </code></p>



<p><code>gzip_buffers 16 8k;  </code></p>



<p><code>gzip_http_version 1.1;   </code></p>



<p><code>gzip_types text/plain text/css text/JavaScript; </code></p>



<p>Exit and save the file by pressing the<strong> ESC</strong> key <strong>:wq,</strong> then typing, then press <strong>Enter</strong></p>



<p></p>



<p>Reload Nginx</p>



<p><code>service nginx reload</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/opportunities-of-speed-%e2%80%8b%e2%80%8bupping-nginx-web-server-on-centos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
