Linux Tutorials on the topic “nginx”
-
Rate Limiting with nginx
Author: Falko Timme • Tags: nginx, web server • Comments: 0
This article explains how to use the nginx HttpLimitReqModule to limit the number of requests for a given session. This is useful, for example, if your site is hammered by a bot doing multiple requests per second and thus increasing your server load. With the ngx_http_limit_req_module, you can define a rate limit, and if a visitor exceeds this rate, he will get a 503 error.
-
How to cache static files on nginx
Author: Falko Timme • Tags: linux, nginx, web server • Comments: 0
This tutorial explains how you can configure nginx to set the Expires HTTP header and the max-age directive of the Cache-Control HTTP header of static files (such as images, CSS and Javascript files) to a date in the future so that these files will be cached by your visitors' browsers.
-
How to install nginx as a Reverse Proxy for Apache on Ubuntu 16.04
Author: Till Brehm • Tags: apache, nginx, ubuntu, web server • Comments: 6
This tutorial shows how you can set up nginx as a reverse proxy in front of an Apache 2.4 web server on Ubuntu 16.04. nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. nginx is known for its stability, rich feature set, simple configuration, and low resource consumption.
-
-
How to use GeoIP with Nginx on Ubuntu 16.04
Author: Till Brehm • Tags: nginx, ubuntu, web server • Comments: 7
This tutorial explains how to use the GeoIP module with nginx on Ubuntu 16.04 to find out where your visitors come from. The GeoIP module sets multiple variables like $geoip_country_name, $geoip_country_code, $geoip_city, etc. that you can use in your PHP scripts or directly in your nginx configuration, for example to serve content in different languages based on the user's country.
-
How to Install Seafile with Nginx on openSUSE Leap 42.1
Author: Muhammad Arul • Tags: linux, nginx, opensuse, server, suse • Comments: 1
In this tutorial, I will show you how to build your own file sync and share server with seafile on openSUSE Leap 42.1. Seafile is a free file hosting software with a functionally like Dropbox or Google Drive that can be installed on your own server.
-
How to Install ownCloud 9 with Nginx on OpenSUSE Leap 42.1
Author: Muhammad Arul • Tags: linux, nginx, opensuse, server, web server • Comments: 1
OwnCloud provides Self-hosted file syncing and sharing with a nice web interface and syncing apps for all major mobile and desktop platforms with a functionally like Dropbox, mega, etc. ownCloud makes it easy to access and sync files, calendars, and contacts across your devices. In this tutorial, I will guide you to create your own sync and share server platform with ownCloud. We will install ownCloud with Nginx as the web server, MariaDB (a MySQL fork) as the database and php-fpm to handle the request for php on Linux OpenSUSE Leap 42.1.
-
How to install TYPO3 8.1 with Nginx (LEMP) on Ubuntu 16.04
Author: Till Brehm • Tags: nginx, php, ubuntu, web server • Comments: 4
This tutorial shows how to install and run a TYPO3 (version 8.1) web site on a Ubuntu 16.04 system that has a Nginx web server installed instead of Apache. This kind of setup is often called LEMP = Linux + Nginx (pronounced "engine x") + MySQL + PHP). Nginx is a fast and efficient HTTP server that uses less resources than Apache and delivers pages a lot faster, especially static files.
-
How to install PHP 7 as PHP-FPM & FastCGI for ISPConfig 3 on Debian 8 (Jessie)
Author: Till Brehm • Tags: apache, control panels, debian, ispconfig, linux, nginx, php, web server • Comments: 86
This tutorial shows how to build PHP 7 as a PHP-FPM and a FastCGI version on Debian 8 (Jessie). PHP 7 is up to 2 times faster than PHP 5.6 and 14 times faster than PHP 5.0 according to the release notes.
-
How to Install Nginx, PHP and MySQL (LEMP Stack) on OpenSUSE Leap 42.1
Author: Muhammad Arul • Tags: linux, nginx, opensuse, server, suse, web server • Comments: 2
LEMP or Linux, Engine-x, MySQL, and PHP is a collection of software installed on the Linux operating system to get your PHP based web applications up and running on the fast Nginx web server. In this tutorial, I will show you how to install Nginx, MariaDB, and PHP-FPM on openSUSE leap 42.1. Then I will configure the OpenSUSE firewall with SuSEfirewall2 to allow access to the Nginx web server and show you how you can add a new virtual host configuration on the Nginx web server.
-
How to setup HAProxy as Load Balancer for Nginx on CentOS 7
Author: Muhammad Arul • Tags: centos, high-availability, linux, nginx, server • Comments: 14
HAProxy or High Availability Proxy is an open source TCP and HTTP load balancer and proxy server software. In this tutorial, I will guide you trough the HAProxy installation and configuration for 3 servers, one load balancer, and two Nginx web servers. We will install HAProxy on a single server and then install Nginx web server on the other servers. HAProxy acts as a load balancer for the Nginx web servers.