[nginx] charybde and ptf installation

certbot_on_virtu
_shirenn 2021-06-03 23:56:11 +02:00 committed by Yohann D'ANELLO
parent f76aaa84f4
commit a881116676
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
3 changed files with 27 additions and 1 deletions

View File

@ -36,11 +36,15 @@ loc_nginx:
- "autoindex_exact_size off" - "autoindex_exact_size off"
- "add_before_body /.html/HEADER.html" - "add_before_body /.html/HEADER.html"
- "add_after_body /.html/FOOTER.html" - "add_after_body /.html/FOOTER.html"
- filter: ~ ^(\/pub)?(\/debian|\/ubuntu|\/videolan)(.*)$ - filter: ~ ^(\/pub)?(\/debian|\/ubuntu|\/archlinux|\/videolan)(.*)$
params: params:
- return 301 http://mirror.crans.org$2$3 - return 301 http://mirror.crans.org$2$3
- filter: "/events" - filter: "/events"
params: params:
- "autoindex on"
- "autoindex_exact_size off"
- "add_before_body /.html/HEADER.html"
- "add_after_body /.html/FOOTER.html"
- "mp4" - "mp4"
- "mp4_buffer_size 1m" - "mp4_buffer_size 1m"
- "mp4_max_buffer_size 5m" - "mp4_max_buffer_size 5m"

View File

@ -24,5 +24,23 @@ loc_rsyncd:
comment: CR@NS MIRROR comment: CR@NS MIRROR
hosts_allow: "*" hosts_allow: "*"
loc_nginx:
service_name: miror
ssl: []
servers:
- server_name:
- "eclat"
- "eclat.*"
- "eclats"
- "eclats.*"
root: "/mirror/pub"
locations:
- filter: "/"
params:
- "autoindex on"
- "autoindex_exact_size off"
- "add_before_body /.html/HEADER.html"
- "add_after_body /.html/FOOTER.html"
loc_vsftpd: loc_vsftpd:
root: /mirror/pub root: /mirror/pub

4
hosts
View File

@ -118,6 +118,10 @@ eclat.adm.crans.org
charybde.adm.crans.org charybde.adm.crans.org
tealc.adm.crans.org tealc.adm.crans.org
[nginx]
eclat.adm.crans.org
ptf.adm.crans.org
[nginx:children] [nginx:children]
django_cas django_cas
galene galene