Cransible charybde nginx configuration
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
244e1c284b
commit
c0fbe6d000
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue