Selaa lähdekoodia

Don't need site password

Bob Mottram 8 vuotta sitten
vanhempi
commit
90c70ed497
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      src/freedombone-app-tahoelafs

+ 2
- 2
src/freedombone-app-tahoelafs Näytä tiedosto

@@ -603,8 +603,8 @@ function create_tahoelafs_web {
603 603
     echo "  root /var/www/tahoelafs/htdocs;" >> $tahoelafs_nginx_site
604 604
     echo '' >> $tahoelafs_nginx_site
605 605
     echo '  location / {' >> $tahoelafs_nginx_site
606
-    echo "    auth_basic \"${TAHOELAFS_LOGIN_TEXT}\";" >> $tahoelafs_nginx_site
607
-    echo '    auth_basic_user_file /etc/nginx/.htpasswd-tahoelafs;' >> $tahoelafs_nginx_site
606
+    echo "    # auth_basic \"${TAHOELAFS_LOGIN_TEXT}\";" >> $tahoelafs_nginx_site
607
+    echo '    # auth_basic_user_file /etc/nginx/.htpasswd-tahoelafs;' >> $tahoelafs_nginx_site
608 608
     function_check nginx_limits
609 609
     nginx_limits tahoelafs '15m'
610 610
     echo '    rewrite /(.*) /$1 break;' >> $tahoelafs_nginx_site