diff --git a/host_vars/charybde.adm.crans.org.yml b/host_vars/charybde.adm.crans.org.yml index 5eea3c44..0bda434f 100644 --- a/host_vars/charybde.adm.crans.org.yml +++ b/host_vars/charybde.adm.crans.org.yml @@ -33,3 +33,29 @@ to_backup: hosts_allow: "*", read_only: "yes" } + +loc_nginx: + servers: + server_name: + - "ftp" + - "ftp.*" + - "mirror" + - "mirror.*" + - "archive.ubuntu.com" + - "fr.archive.ubuntu.com" + - "security.ubuntu.com" + - "ftps" + - "ftps.*" + root: "/pubftp" + locations: + - filter: "/" + - params: + - "autoindex on" + - "autoindex_exact_size off" + - "add_before_body /.html/HEADER.html" + - "add_after_body /.html/FOOTER.html" + - filter: "/pub/events/" + params: + - "mp4" + - "mp4_buffer_size 1m" + - "mp4_max_buffer_size 5m"