From c9abbf61cfd11467e96306732df50d190b3a9da2 Mon Sep 17 00:00:00 2001 From: ntr Date: Thu, 10 Oct 2019 16:49:40 +1100 Subject: [PATCH] nginx staging auth --- etc/nginx/sites-available/mnml.gg.STAGING.SAMPLE.nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/nginx/sites-available/mnml.gg.STAGING.SAMPLE.nginx.conf b/etc/nginx/sites-available/mnml.gg.STAGING.SAMPLE.nginx.conf index 8383b79d..bed6a99e 100644 --- a/etc/nginx/sites-available/mnml.gg.STAGING.SAMPLE.nginx.conf +++ b/etc/nginx/sites-available/mnml.gg.STAGING.SAMPLE.nginx.conf @@ -15,6 +15,9 @@ map $http_upgrade $connection_upgrade { server { server_name sixtysix.pro; + auth_basic "who dis"; + auth_basic_user_file /etc/mnml/htpasswd.users; + location / { root /var/lib/mnml/public/current; index index.html;