setup fedora media writer

This commit is contained in:
Kevin Fenzi 2016-10-10 22:23:17 +00:00
parent a66d4049c1
commit d45d0e923e
3 changed files with 15 additions and 0 deletions

View file

@ -1 +1,2 @@
25 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::getfedora.org/ /srv/web/getfedora.org/ 25 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::getfedora.org/ /srv/web/getfedora.org/
30 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::fmw/ /srv/web/fmw/

View file

@ -3,6 +3,8 @@ Alias /favicon.ico /srv/web/fedoraproject.org/static/images/favicon.ico
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
Alias /fmw /srv/web/fmw/
FileETag MTime Size FileETag MTime Size
ExpiresActive On ExpiresActive On
@ -11,3 +13,7 @@ ExpiresDefault "access plus 5 days"
<Directory /srv/web/getfedora.org> <Directory /srv/web/getfedora.org>
AllowOverride FileInfo AllowOverride FileInfo
</Directory> </Directory>
<Directory /srv/web/fmw>
Require all granted
</Directory>

View file

@ -173,3 +173,11 @@ uid = root
gid = root gid = root
read only = yes read only = yes
hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0 hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0
[fmw]
comment = fmw
path = /srv/web/fmw
uid = root
gid = root
read only = yes
hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0