background preloader

Securing

Facebook Twitter

How To Secure Nginx with Let's Encrypt on CentOS 7. Introduction Let's Encrypt is a new Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers.

How To Secure Nginx with Let's Encrypt on CentOS 7

It simplifies the process by providing a software client, certbot, that attempts to automate most (if not all) of the required steps. The Ultimate Guide to Secure, Harden and Improve Performance of Nginx Web Server. Based on the wonderful things you have heard about Nginx, perhaps you decided to give it a try.

The Ultimate Guide to Secure, Harden and Improve Performance of Nginx Web Server

You may have liked it so much that are considering replacing your Apache installations with Nginx after going through some of the articles on the topic that we have published on this site. If so, I’m sure you will welcome this guide with open arms since we are going to cover 12 tips to increase the security of your Nginx servers (ranging from keeping Nginx up to date all the way to using using TLS and redirecting HTTP to HTTPS), and you will note that some of them are very similar to what you would do with Apache.

Nginx Web Server Security & Hardening Guide. Web Server and Website Security Testing. Test your Content Security Policy (CSP), HTTP Security Headers and overall web server security: Step 1 Enter your web server URL Step 2 Wait a few seconds Step 3 View test results Latest Tested Servers For the Web Server Security Test service High-Tech Bridge provides you with a free API to test your web servers security.

Web Server and Website Security Testing

Qualys SSL Labs. Wapiti : a Free and Open-Source web-application vulnerability scanner in Python for Windows, Linux, BSD, OSX. ScanMyServer: Test the security of your website, web server or blog - Free! Generate Mozilla Security Recommended Web Server Configuration Files. Oldest compatible clients: Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7 <VirtualHost *:443> ...

Generate Mozilla Security Recommended Web Server Configuration Files

SSLEngine on SSLCertificateFile /path/to/signed_certificate SSLCertificateChainFile /path/to/intermediate_certificate SSLCertificateKeyFile /path/to/private/key # Uncomment the following directive when using client certificate authentication #SSLCACertificateFile /path/to/ca_certs_for_client_authentication # HSTS (mod_headers is required) (15768000 seconds = 6 months) Header always set Strict-Transport-Security "max-age=15768000" ... How To Secure Nginx on Ubuntu 14.04. Nginx is a very secure and reliable web server even with a default setup.

How To Secure Nginx on Ubuntu 14.04

However, there are many ways to secure Nginx further. In this article, we will use open source software exclusively while trying to follow some popular web server hardening approaches and security standards. Namely, we'll be talking about preventing information disclosure, enforcing encryption, performing audits, and limiting access. Prerequisites. Basic HTTP Authentication with Nginx. This tutorial shows how you can use basic HTTP authentication with Nginx to password-protect directories on your server or even a whole website.

Basic HTTP Authentication with Nginx

This is the Nginx equivalent to basic HTTP authentication on Apache with .htaccess /.htpasswd. 1 Preliminary Note I'm using the website www.example.com here with the document root /var/www/www.example.com/web/ and the Nginx vhost configuration file /etc/nginx/sites-enabled/www.example.com.vhost. The directory I want to password-protect is /var/www/www.example.com/web/test/.