diff --git a/_posts/2014-03-06-site-changes.html b/_posts/2014-03-06-site-changes.html index aa99f14..17117e9 100644 --- a/_posts/2014-03-06-site-changes.html +++ b/_posts/2014-03-06-site-changes.html @@ -30,16 +30,16 @@ domain.name. 912 IN A 192.30.252.154
anon_world_readable_only=YES
are used for prevent access to the music directory.
Also here is my /etc/vsftpd.conf
configuration file:
{% highlight bash %}
anonymous_enable=YES
-anon_root=/mnt/ftp
+anon_root=/srv/ftp
local_enable=YES
write_enable=YES
local_umask=022
@@ -54,7 +54,7 @@ nopriv_user=music
ascii_upload_enable=YES
ftpd_banner=Welcome to arcanis
chroot_local_user=YES
-local_root=/mnt/ftp/music
+local_root=/srv/ftp/music
listen=YES
{% endhighlight %}
Now let's add redirection from repo.arcanis.name
to the needed IP address. To do this, add the following entry in DNS:
diff --git a/ru/_posts/2014-03-06-site-changes.html b/ru/_posts/2014-03-06-site-changes.html
index 6517ece..c252f5e 100644
--- a/ru/_posts/2014-03-06-site-changes.html
+++ b/ru/_posts/2014-03-06-site-changes.html
@@ -30,16 +30,16 @@ domain.name. 912 IN A 192.30.252.154
anon_world_readable_only=YES
.
Также привожу свой файл настроек /etc/vsftpd.conf
:
{% highlight bash %}
anonymous_enable=YES
-anon_root=/mnt/ftp
+anon_root=/srv/ftp
local_enable=YES
write_enable=YES
local_umask=022
@@ -54,7 +54,7 @@ nopriv_user=music
ascii_upload_enable=YES
ftpd_banner=Welcome to arcanis
chroot_local_user=YES
-local_root=/mnt/ftp/music
+local_root=/srv/ftp/music
listen=YES
{% endhighlight %}
Теперь добавим переадресацию с repo.arcanis.name
на нужный IP адрес. Для этого внесем следующие записи в DNS: