Add rps_nginx module and place /etc/nginx/htpasswd