Cransible charybde nginx configuration

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-01-02 16:42:57 +01:00 committed by ynerant
parent 244e1c284b
commit c0fbe6d000
1 changed files with 26 additions and 0 deletions

View File

@ -33,3 +33,29 @@ to_backup:
hosts_allow: "*", hosts_allow: "*",
read_only: "yes" 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"