diff --git a/conf/nginx.conf b/conf/nginx.conf index ec4b8d3..b389343 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,6 +3,10 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; + + #To secure the access + auth_basic “Administrator’s Area”; + auth_basic_user_file /home/$admin/.htpass_phpsysinfo; # Force usage of https if ($scheme = http) { @@ -30,4 +34,4 @@ location __PATH__/ { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; -} \ No newline at end of file +}