diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-20 20:01:18 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-20 20:01:30 -0700 |
| commit | ca3dd832069e35d75356f31f1cb19e1c36494a3e (patch) | |
| tree | 53d750618c7d1b854b0a1e8acd5a8f17c52fe09b /roles/obsd_www | |
| parent | Fix typo in cgitrc (diff) | |
| download | site-configs-ca3dd832069e35d75356f31f1cb19e1c36494a3e.zip | |
Use separate log files per domain with httpd
Diffstat (limited to 'roles/obsd_www')
| -rw-r--r-- | roles/obsd_www/templates/httpd.d/www.conf.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/obsd_www/templates/httpd.d/www.conf.j2 b/roles/obsd_www/templates/httpd.d/www.conf.j2 index 76a9bd5..85ba4ba 100644 --- a/roles/obsd_www/templates/httpd.d/www.conf.j2 +++ b/roles/obsd_www/templates/httpd.d/www.conf.j2 @@ -2,6 +2,8 @@ server "{{ obsd_domain }}" { {% if obsd_alias_domain is defined %} alias "{{ obsd_alias_domain }}" {% endif %} + log access "{{ obsd_domain }}-access.log" + log error "{{ obsd_domain }}-error.log" listen on egress tls port 443 tls { certificate "/etc/ssl/{{ obsd_domain }}.fullchain.pem" |