container: silence httpd logs
PATCH 1/1 container: silence httpd logs
The httpd logs for qemu.org are huge and are exhausting the disk space on the web server. Silence them, they are of limited use and also a possible privacy issue.
Signed-off-by Paolo Bonzini <[email protected]>
--- container/conf.d/git.conf | 2 ++ container/conf.d/noname.conf | 2 ++ container/conf.d/www.conf | 2 ++ 3 files changed, 6 insertions(+)
container/conf.d/git.conf +2 -0
@@ -2,6 +2,8 @@ ServerName git.qemu.org ServerAlias git.qemu.org + CustomLog /dev/null common + RewriteEngine On RewriteRule ^/(git/)?([^/?;]+)\.git(/?|/HEAD|/info/.*|/objects/.*|/git-(upload|receive)-pack)$ http://gitlab.com/qemu-project/$2$3 [R,L]
container/conf.d/noname.conf +2 -0
@@ -2,6 +2,8 @@ ServerName qemu.org ServerAlias qemu.org + CustomLog /dev/null common + RewriteEngine On RewriteRule ^(.*) https://www.qemu.org$0 [R=301]
container/conf.d/www.conf +2 -0
@@ -2,6 +2,8 @@ ServerName www.qemu.org ServerAlias www.qemu.org + CustomLog /dev/null common + RewriteEngine On RewriteRule ^/docs/master(/.*|$) https://qemu-project.gitlab.io/qemu$1 [NE,P,L] Header edit Location ^(http:|https:)?//qemu-project\.gitlab\.io/qemu/ https://www.qemu.org/docs/master/
Signature · 1 line
2.41.0
Quoted 10 lines · Paolo Bonzini
The httpd logs for qemu.org are huge and are exhausting the disk space on the web server. Silence them, they are of limited use and also a possible privacy issue.
Signed-off-by Paolo Bonzini <[email protected]>--- container/conf.d/git.conf | 2 ++ container/conf.d/noname.conf | 2 ++ container/conf.d/www.conf | 2 ++ 3 files changed, 6 insertions(+)
Reviewed-by Daniel P. Berrangé <[email protected]>
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|