Przeglądaj źródła

security fix / thanks to Christopher Tarquini

Serghey Rodin 8 lat temu
rodzic
commit
757e065602
100 zmienionych plików z 121 dodań i 104 usunięć
  1. 12 4
      bin/v-add-web-domain-stats-user
  2. 11 2
      bin/v-delete-web-domain-stats-user
  3. 1 1
      bin/v-rebuild-web-domains
  4. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/cms_made_simple.stpl
  5. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/cms_made_simple.tpl
  6. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/codeigniter2.stpl
  7. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/codeigniter2.tpl
  8. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/codeigniter3.stpl
  9. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/codeigniter3.tpl
  10. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/datalife_engine.stpl
  11. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/datalife_engine.tpl
  12. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/default.stpl
  13. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/default.tpl
  14. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/dokuwiki.stpl
  15. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/dokuwiki.tpl
  16. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/drupal6.stpl
  17. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/drupal6.tpl
  18. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/drupal7.stpl
  19. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/drupal7.tpl
  20. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/drupal8.stpl
  21. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/drupal8.tpl
  22. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/joomla.stpl
  23. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/joomla.tpl
  24. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/laravel.stpl
  25. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/laravel.tpl
  26. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/magento.stpl
  27. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/magento.tpl
  28. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/modx.stpl
  29. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/modx.tpl
  30. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/moodle.stpl
  31. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/moodle.tpl
  32. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/no-php.stpl
  33. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/no-php.tpl
  34. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/odoo.stpl
  35. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/odoo.tpl
  36. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/owncloud.stpl
  37. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/owncloud.tpl
  38. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/piwik.stpl
  39. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/piwik.tpl
  40. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/pyrocms.stpl
  41. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/pyrocms.tpl
  42. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/wordpress.stpl
  43. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/wordpress.tpl
  44. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/wordpress2.stpl
  45. 1 1
      install/debian/7/templates/web/nginx/php5-fpm/wordpress2.tpl
  46. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/cms_made_simple.stpl
  47. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/cms_made_simple.tpl
  48. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/codeigniter2.stpl
  49. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/codeigniter2.tpl
  50. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/codeigniter3.stpl
  51. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/codeigniter3.tpl
  52. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/datalife_engine.stpl
  53. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/datalife_engine.tpl
  54. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/default.stpl
  55. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/default.tpl
  56. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/dokuwiki.stpl
  57. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/dokuwiki.tpl
  58. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/drupal6.stpl
  59. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/drupal6.tpl
  60. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/drupal7.stpl
  61. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/drupal7.tpl
  62. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/drupal8.stpl
  63. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/drupal8.tpl
  64. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/joomla.stpl
  65. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/joomla.tpl
  66. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/laravel.stpl
  67. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/laravel.tpl
  68. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/magento.stpl
  69. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/magento.tpl
  70. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/modx.stpl
  71. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/modx.tpl
  72. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/moodle.stpl
  73. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/moodle.tpl
  74. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/no-php.stpl
  75. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/no-php.tpl
  76. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/odoo.stpl
  77. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/odoo.tpl
  78. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/owncloud.stpl
  79. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/owncloud.tpl
  80. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/piwik.stpl
  81. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/piwik.tpl
  82. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/pyrocms.stpl
  83. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/pyrocms.tpl
  84. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/wordpress.stpl
  85. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/wordpress.tpl
  86. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/wordpress2.stpl
  87. 1 1
      install/debian/8/templates/web/nginx/php5-fpm/wordpress2.tpl
  88. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/cms_made_simple.stpl
  89. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/cms_made_simple.tpl
  90. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/codeigniter2.stpl
  91. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/codeigniter2.tpl
  92. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/codeigniter3.stpl
  93. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/codeigniter3.tpl
  94. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/datalife_engine.stpl
  95. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/datalife_engine.tpl
  96. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/default.stpl
  97. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/default.tpl
  98. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/dokuwiki.stpl
  99. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/dokuwiki.tpl
  100. 1 1
      install/rhel/5/templates/web/nginx/php-fpm/drupal6.stpl

+ 12 - 4
bin/v-add-web-domain-stats-user

@@ -1,6 +1,6 @@
 #!/bin/bash
 # info: add password protection to web domain statistics
-# options: USER DOMAIN STATS_USER STATS_PASSWORD
+# options: USER DOMAIN STATS_USER STATS_PASSWORD [RESTART]
 #
 # The call is used for securing the web statistics page.
 
@@ -14,6 +14,7 @@ user=$1
 domain=$2
 stats_user=$3
 password=$4; HIDE=4
+restart=$5
 
 # Includes
 source $VESTA/func/main.sh
@@ -25,7 +26,7 @@ source $VESTA/conf/vesta.conf
 #                    Verifications                         #
 #----------------------------------------------------------#
 
-check_args '4' "$#" 'USER DOMAIN STATS_USER STATS_PASS'
+check_args '4' "$#" 'USER DOMAIN STATS_USER STATS_PASS [RESTART]'
 is_format_valid 'user' 'domain' 'stats_user'
 is_system_enabled "$WEB_SYSTEM" 'WEB_SYSTEM'
 is_object_valid 'user' 'USER' "$user"
@@ -41,11 +42,12 @@ is_password_valid
 
 # Defining statistic dir
 stats_dir="$HOMEDIR/$user/web/$domain/stats"
+conf_dir="$HOMEDIR/$user/conf/web"
 
 # Adding htaccess file
 if [ "$WEB_SYSTEM" = 'nginx' ]; then
-    echo "auth_basic \"Web Statistics\";" > $stats_dir/auth.conf
-    echo "auth_basic_user_file $stats_dir/.htpasswd;" >> $stats_dir/auth.conf
+    echo "auth_basic \"Web Statistics\";" > $conf_dir/$domain.auth
+    echo "auth_basic_user_file $stats_dir/.htpasswd;" >> $conf_dir/$domain.auth
 else
     echo "AuthUserFile $stats_dir/.htpasswd" > $stats_dir/.htaccess
     echo "AuthName \"Web Statistics\"" >> $stats_dir/.htaccess
@@ -67,6 +69,12 @@ echo "$stats_user:$stats_pass" > $stats_dir/.htpasswd
 update_object_value 'web' 'DOMAIN' "$domain" '$STATS_USER' "$stats_user"
 update_object_value 'web' 'DOMAIN' "$domain" '$STATS_CRYPT' "$stats_pass"
 
+# Restarting web server
+if [ "$WEB_SYSTEM" = 'nginx' ]; then
+    $BIN/v-restart-web $restart
+    check_result $? "Web restart failed" >/dev/null
+fi
+
 # Logging
 log_history "added password protection for web stats on $domain"
 log_event "$OK" "$ARGUMENTS"

+ 11 - 2
bin/v-delete-web-domain-stats-user

@@ -1,6 +1,6 @@
 #!/bin/bash
 # info: disable webdomain stats  authentication support
-# options: USER DOMAIN
+# options: USER DOMAIN [RESTART]
 #
 # The function removes authentication of statistics system. If the script is
 # called without naming a certain user, all users will be removed. After
@@ -15,6 +15,7 @@
 # Argument definition
 user=$1
 domain=$(idn -t --quiet -u "$2" )
+restart=$3
 
 # Includes
 source $VESTA/func/main.sh
@@ -26,7 +27,7 @@ source $VESTA/conf/vesta.conf
 #                    Verifications                         #
 #----------------------------------------------------------#
 
-check_args '2' "$#" 'USER DOMAIN'
+check_args '2' "$#" 'USER DOMAIN [RESTART]'
 is_format_valid 'user' 'domain'
 is_system_enabled "$WEB_SYSTEM" 'WEB_SYSTEM'
 is_object_valid 'user' 'USER' "$user"
@@ -44,6 +45,14 @@ is_object_value_exist 'web' 'DOMAIN' "$domain" '$STATS_USER'
 rm -f $HOMEDIR/$user/web/$domain/stats/.htpasswd
 rm -f $HOMEDIR/$user/web/$domain/stats/.htaccess
 
+# Deleting nginx auth config
+if [ "$WEB_SYSTEM" = 'nginx' ]; then
+    conf_dir="$HOMEDIR/$user/conf/web"
+    rm -f $conf_dir/$domain.auth 2>/dev/null
+    $BIN/v-restart-web $restart
+    check_result $? "Web restart failed" >/dev/null
+fi
+
 
 #----------------------------------------------------------#
 #                       Vesta                              #

+ 1 - 1
bin/v-rebuild-web-domains

@@ -61,7 +61,7 @@ fi
 for domain in $($BIN/v-list-web-domains $user plain |cut -f 1); do
     if [ ! -z "$WEB_BACKEND" ]; then
         template=$(get_object_value 'web' 'DOMAIN' "$domain" '$BACKEND')
-        $BIN/v-add-web-domain-backend $user $domain $template
+        $BIN/v-add-web-domain-backend $user $domain $template $restart
     fi
     rebuild_web_domain_conf
 done

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/cms_made_simple.stpl

@@ -45,7 +45,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/cms_made_simple.tpl

@@ -41,7 +41,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/codeigniter2.stpl

@@ -50,7 +50,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/codeigniter2.tpl

@@ -46,7 +46,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/codeigniter3.stpl

@@ -45,7 +45,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/codeigniter3.tpl

@@ -41,7 +41,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/datalife_engine.stpl

@@ -116,7 +116,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/datalife_engine.tpl

@@ -112,7 +112,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/default.stpl

@@ -44,7 +44,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/default.tpl

@@ -40,7 +40,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/dokuwiki.stpl

@@ -61,7 +61,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/dokuwiki.tpl

@@ -56,7 +56,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/drupal6.stpl

@@ -90,7 +90,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/drupal6.tpl

@@ -87,7 +87,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/drupal7.stpl

@@ -90,7 +90,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/drupal7.tpl

@@ -87,7 +87,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/drupal8.stpl

@@ -91,7 +91,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/drupal8.tpl

@@ -88,7 +88,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/joomla.stpl

@@ -52,7 +52,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/joomla.tpl

@@ -48,7 +48,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/laravel.stpl

@@ -45,7 +45,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/laravel.tpl

@@ -39,7 +39,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/magento.stpl

@@ -187,7 +187,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/magento.tpl

@@ -183,7 +183,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/modx.stpl

@@ -58,7 +58,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/modx.tpl

@@ -54,7 +54,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/moodle.stpl

@@ -79,7 +79,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/moodle.tpl

@@ -76,7 +76,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/no-php.stpl

@@ -36,7 +36,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/no-php.tpl

@@ -32,7 +32,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/odoo.stpl

@@ -59,7 +59,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/odoo.tpl

@@ -55,7 +55,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/owncloud.stpl

@@ -74,7 +74,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/owncloud.tpl

@@ -70,7 +70,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/piwik.stpl

@@ -62,7 +62,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/piwik.tpl

@@ -58,7 +58,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/pyrocms.stpl

@@ -55,7 +55,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/pyrocms.tpl

@@ -51,7 +51,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/wordpress.stpl

@@ -44,7 +44,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/wordpress.tpl

@@ -40,7 +40,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/wordpress2.stpl

@@ -56,7 +56,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/7/templates/web/nginx/php5-fpm/wordpress2.tpl

@@ -52,7 +52,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/cms_made_simple.stpl

@@ -45,7 +45,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/cms_made_simple.tpl

@@ -41,7 +41,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/codeigniter2.stpl

@@ -50,7 +50,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/codeigniter2.tpl

@@ -46,7 +46,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/codeigniter3.stpl

@@ -45,7 +45,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/codeigniter3.tpl

@@ -41,7 +41,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/datalife_engine.stpl

@@ -116,7 +116,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/datalife_engine.tpl

@@ -112,7 +112,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/default.stpl

@@ -44,7 +44,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/default.tpl

@@ -40,7 +40,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/dokuwiki.stpl

@@ -61,7 +61,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/dokuwiki.tpl

@@ -56,7 +56,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/drupal6.stpl

@@ -90,7 +90,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/drupal6.tpl

@@ -87,7 +87,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/drupal7.stpl

@@ -90,7 +90,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/drupal7.tpl

@@ -87,7 +87,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/drupal8.stpl

@@ -91,7 +91,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/drupal8.tpl

@@ -88,7 +88,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/joomla.stpl

@@ -52,7 +52,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/joomla.tpl

@@ -48,7 +48,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/laravel.stpl

@@ -45,7 +45,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/laravel.tpl

@@ -39,7 +39,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/magento.stpl

@@ -187,7 +187,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/magento.tpl

@@ -183,7 +183,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/modx.stpl

@@ -58,7 +58,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/modx.tpl

@@ -54,7 +54,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/moodle.stpl

@@ -79,7 +79,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/moodle.tpl

@@ -76,7 +76,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/no-php.stpl

@@ -36,7 +36,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/no-php.tpl

@@ -32,7 +32,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/odoo.stpl

@@ -59,7 +59,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/odoo.tpl

@@ -55,7 +55,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/owncloud.stpl

@@ -74,7 +74,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/owncloud.tpl

@@ -70,7 +70,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/piwik.stpl

@@ -62,7 +62,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/piwik.tpl

@@ -58,7 +58,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/pyrocms.stpl

@@ -55,7 +55,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/pyrocms.tpl

@@ -51,7 +51,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/wordpress.stpl

@@ -44,7 +44,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/wordpress.tpl

@@ -40,7 +40,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/wordpress2.stpl

@@ -56,7 +56,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/debian/8/templates/web/nginx/php5-fpm/wordpress2.tpl

@@ -52,7 +52,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/cms_made_simple.stpl

@@ -45,7 +45,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/cms_made_simple.tpl

@@ -41,7 +41,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/codeigniter2.stpl

@@ -50,7 +50,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/codeigniter2.tpl

@@ -46,7 +46,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/codeigniter3.stpl

@@ -45,7 +45,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/codeigniter3.tpl

@@ -41,7 +41,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/datalife_engine.stpl

@@ -116,7 +116,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/datalife_engine.tpl

@@ -112,7 +112,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/default.stpl

@@ -44,7 +44,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/default.tpl

@@ -40,7 +40,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/dokuwiki.stpl

@@ -61,7 +61,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/dokuwiki.tpl

@@ -56,7 +56,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

+ 1 - 1
install/rhel/5/templates/web/nginx/php-fpm/drupal6.stpl

@@ -90,7 +90,7 @@ server {
 
     location /vstats/ {
         alias   %home%/%user%/web/%domain%/stats/;
-        include %home%/%user%/web/%domain%/stats/auth.conf*;
+        include %home%/%user%/conf/web/%domain%.auth
     }
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików