|
@@ -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
|