1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #343 from georgejhunt/log-location

sync from georgejhunt:log-location
This commit is contained in:
A Holt 2020-01-16 08:54:59 -05:00 committed by GitHub
commit 58cea6f422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 9 deletions

View file

@ -42,9 +42,16 @@ http {
# Logging Settings
##
access_log {{ apache_log_dir }}/access.log;
error_log {{ apache_log_dir }}/error.log;
log_format awstats
'$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "http_x_forwarded_for"';
access_log {{ nginx_log_dir }}/access.log awstats;
error_log {{ nginx_log_dir }}/error.log;
log_format scripts '$request > $document_root$fastcgi_script_name $fastcgi_path_info';
access_log {{ nginx_log_dir }}/scripts.log scripts;
##

View file

@ -3,10 +3,6 @@ server {
server_name {{ iiab_hostname }};
listen 80;
access_log {{ apache_log_dir }}/access.log;
error_log {{ apache_log_dir }}/error.log;
access_log {{ apache_log_dir }}/scripts.log scripts;
index index.php index.html index.htm;
# let individual services drop location blocks in conf.d