copr-be: don't add access_log.conf

The only configuration option there is to "load" the module, and that
can be easily done directly in lighttpd.conf.
This commit is contained in:
Pavel Raiskup 2021-12-07 15:03:57 +01:00
parent 3b82253333
commit ed2ae27700
3 changed files with 1 additions and 40 deletions

View file

@ -1,28 +0,0 @@
#######################################################################
##
## Corresponding documentation:
##
## https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAccesslog
##
server.modules += ( "mod_accesslog" )
##
## Default access log.
##
#accesslog.filename = log_root + "/access.log"
#accesslog.filename = "|/usr/sbin/cronolog /var/log/lighttpd/access.log"
##
## The default format produces CLF compatible output.
## For available parameters see access.txt
##
#accesslog.format = "%h %l %u %t \"%r\" %b %>s \"%{User-Agent}i\" \"%{Referer}i\""
##
## If you want to log to syslog you have to unset the
## accesslog.use-syslog setting and uncomment the next line.
##
#accesslog.use-syslog = "enable"
#
#######################################################################

View file

@ -96,13 +96,6 @@
copy: src="boto" dest=/home/copr/.boto owner=copr group=copr
# setup webserver
- name: add access_log.conf for lighttpd
copy: src="lighttpd/access_log.conf" dest=/etc/lighttpd/conf.d/access_log.conf owner=root group=root mode=0644
notify:
- restart lighttpd
tags:
- config
- name: add config for copr-repo path
template: src="lighttpd/lighttpd.conf" dest=/etc/lighttpd/lighttpd.conf owner=root group=root mode=0644
notify:

View file

@ -78,6 +78,7 @@ var.socket_dir = home_dir + "/sockets"
#include "modules.conf"
server.modules = (
"mod_access",
"mod_accesslog",
"mod_magnet",
"mod_setenv",
"mod_redirect",
@ -156,11 +157,6 @@ server.errorlog = log_root + "/error.log"
##
#server.errorlog-use-syslog = "enable"
##
## Access log config
##
include "conf.d/access_log.conf"
##
## The debug options are moved into their own file.
## see conf.d/debug.conf for various options for request debugging.