diff --git a/ansible/deploy.yml b/ansible/deploy.yml index 97e5158..113b9f1 100644 --- a/ansible/deploy.yml +++ b/ansible/deploy.yml @@ -110,15 +110,6 @@ owner: root group: root - - name: Ensure /var/log/caddy directory exists - ansible.builtin.file: - path: /var/log/caddy - state: directory - mode: "0755" - owner: caddy - group: caddy - ignore_errors: true - - name: Deploy Caddy vhost for {{ auth_domain }} ansible.builtin.template: src: e-auth.conf.j2 diff --git a/ansible/templates/e-auth.conf.j2 b/ansible/templates/e-auth.conf.j2 index de088be..17e3444 100644 --- a/ansible/templates/e-auth.conf.j2 +++ b/ansible/templates/e-auth.conf.j2 @@ -9,11 +9,4 @@ encode gzip zstd reverse_proxy 127.0.0.1:{{ keycloak_local_port }} - - log { - output file /var/log/caddy/{{ auth_domain }}.log { - roll_size 10mb - roll_keep 10 - } - } }