No Picture
CentOS 7

Host your Own Yum Repository

Here we create our own yum repository on a fresh up-to-date installation of Centos 7. Configure Nginx First install the EPEL repository. And then Nginx. Start and enable Nginx. Install and configure a local firewall. […]

No Picture

htpasswd with Nginx on CentOS 7

To setup basic HTTP authentication with Nginx on CentOS 7, first install httpd-tools. Create user and password: Amend your Nginx vhost configuration: Add the following lines: Check and reload vhost configuration: