summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Weil2019-09-21 20:51:30 +0200
committerTristan Weil2019-09-21 20:51:30 +0200
commitfb2d79a4aaaa3038ba39b3ab8afa5e1ad5eddcf9 (patch)
tree260e4bf937e6691eb147f256112a4aababb07d99
parent36b51c30383774fb09722ea6a96835af89b0e247 (diff)
downloadrepository-master.zip
repository-master.tar.gz
repository-master.tar.bz2
Add cors and fix log formatHEADmaster
-rw-r--r--inventories/t18s.fr/group_vars/all/caddy.yml3
-rw-r--r--inventories/t18s.fr/group_vars/repository/cgit-stack-caddy.yml2
2 files changed, 3 insertions, 2 deletions
diff --git a/inventories/t18s.fr/group_vars/all/caddy.yml b/inventories/t18s.fr/group_vars/all/caddy.yml
index 809a2e3..5a24b1b 100644
--- a/inventories/t18s.fr/group_vars/all/caddy.yml
+++ b/inventories/t18s.fr/group_vars/all/caddy.yml
@@ -12,6 +12,7 @@ caddy_artifact_options:
plugins:
- tls.dns.gandiv5
- http.cgi
+ - http.cors
license: personal
telemetry: 'off'
@@ -33,7 +34,7 @@ caddy_main_instance_config: |+
rotate_keep 7
rotate_compress
ipmask 0.0.0.0 0000:0000:0000:0000:0000:0000:0000:0000
- ipmask 255.255.0.0 ffff:ffff:ffff:ffff::
+ #ipmask 255.255.0.0 ffff:ffff:ffff:ffff::
}
errors {{ caddy_main_instance_log_dir }}/errors.log {
diff --git a/inventories/t18s.fr/group_vars/repository/cgit-stack-caddy.yml b/inventories/t18s.fr/group_vars/repository/cgit-stack-caddy.yml
index 6282014..f1e51b8 100644
--- a/inventories/t18s.fr/group_vars/repository/cgit-stack-caddy.yml
+++ b/inventories/t18s.fr/group_vars/repository/cgit-stack-caddy.yml
@@ -18,7 +18,7 @@ cgit_stack_caddy_instance_config: |+
rotate_keep 7
rotate_compress
ipmask 0.0.0.0 0000:0000:0000:0000:0000:0000:0000:0000
- ipmask 255.255.0.0 ffff:ffff:ffff:ffff::
+ #ipmask 255.255.0.0 ffff:ffff:ffff:ffff::
}
errors {{ caddy_instance_log_dir }}/errors.log {