Commit 86d069d9 authored by Clément Igonet's avatar Clément Igonet

setup enhancement

parent 5c9b9193
......@@ -16,6 +16,11 @@
- file: path=/tmp/caddy state=directory mode=0755
become: yes
- shell: |
mkdir /etc/caddy/log
chown -R caddy:caddy /etc/caddy
become: yes
- name: extract caddy
shell: |
set -xe
......@@ -40,7 +45,7 @@
lineinfile:
dest: /etc/init.d/caddy
regexp: '^DAEMONUSER=.*'
line: 'DAEMONUSER=oev'
line: 'DAEMONUSER=caddy'
owner: root
group: root
mode: 0755
......
......@@ -2,5 +2,5 @@ integration.openearthview.net {
tls contact@openearthview.net
root /home/oev/Projects/OpenEarthView/viewer-earth-api-integration
gzip
log /home/oev/Projects/OpenEarthView/viewer-earth-api-integration/access.log
log /etc/caddy/log/access_integration.openearthview.net.log
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment