Nginx – Password Protect Web Directories

Managers of web projects often need to protect their work one way or another. Often people ask how to password protect their website while it is still in development. On an Apache web server, it’s possible to password protect a directory using .htaccess and .htpasswd files. However, .htaccess files are not supported on Nginx. Read More …

Nginx – Enable HTTP/2

Hypertext Transfer Protocol Version 2 (HTTP/2) is the latest version of the HTTP protocol, published as an IETF standard in RFC 7540 in 2015. The focus of the protocol is on performance; specifically, end-user perceived latency, network and server resource usage. Read More …

Configuring Let’s Encrypt TLS Certificates

Let’s Encrypt® has revolutionized the way to obtain, install and use TLS/SSL certificates for websites and other services. With its Read More …

Nginx – Configuring Reverse Proxy

A reverse proxy is an in-the-middle proxy service which takes a client request, passes it on to one or more servers, and subsequently delivers the server’s response to the client: basically the communication will be only between the proxy and the client, there will be no direct traffic between these two endpoints. Read More …

Managing Uploads, Timeouts and PHP Limits in Nginx and Apache

There are software likes Apache, Nginx, PHP, and phpMyAdmin have multiple configuration settings that define and set limits to: Memory Usage (Allocation), PHP Script Run Times, Upload File Sizes. Read More …

Convert .pfx SSL certificate to .key or .pem format

In the last years Internet have seen a lot of changes, especially in terms of security standars and requirements for almost every website published on the web. Read More …

Attivazione Browser Caching (Apache – Nginx – IIS)

Per chiunque sviluppi un sito web o blog, le prestazioni e la velocità di risposta del sito risulta essere un aspetto rilevante, che potrebbe affliggere, negativamente in caso di tempi di risposta elevati (pochi secondi) sull’esperienza dell’utente che vuole usufruire dell’informazione che gli state proponendo ed anche sul posizionamento (SEO) dello stesso sui motori di ricerca. Read More …

Create Custom 404 / 403 error page in Nginx

How do we create a custom static HTTP 404 or HTTP 403 error page under nginx web server? First create Read More …