Update httpd log directory in template for git.o.o
The ${APACHE_LOG_DIR} isn't expanding as I had expected on the CentOS server, updating to default CentOS apache log directory. Change-Id: I8fc6ee5084e2ef69be9e888473155c865bdbdfd0
This commit is contained in:
parent
ceb405b4bb
commit
9a07f307a7
@ -2,11 +2,11 @@
|
||||
ServerName <%= scope.lookupvar("cgit::vhost_name") %>
|
||||
ServerAdmin <%= scope.lookupvar("cgit::serveradmin") %>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/git-error.log
|
||||
ErrorLog /var/log/httpd/git-error.log
|
||||
|
||||
LogLevel warn
|
||||
|
||||
CustomLog ${APACHE_LOG_DIR}/git-access.log combined
|
||||
CustomLog /var/log/httpd/git-access.log combined
|
||||
|
||||
Redirect / https://<%= scope.lookupvar("cgit::vhost_name") %>/
|
||||
|
||||
@ -22,11 +22,11 @@
|
||||
RewriteEngine On
|
||||
RewriteRule ^/$ /cgit [R]
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/git-error.log
|
||||
ErrorLog /var/log/httpd/git-error.log
|
||||
|
||||
LogLevel warn
|
||||
|
||||
CustomLog ${APACHE_LOG_DIR}/git-access.log combined
|
||||
CustomLog /var/log/httpd/git-access.log combined
|
||||
|
||||
SSLEngine on
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user