add auto cast file->file.html

networking
Jean-Marie Mineau 3 years ago
parent 414272d7ce
commit 6698927b88
Signed by: histausse
GPG Key ID: 67486F107F62E9E9

@ -7,6 +7,6 @@ reverse_proxy_sites:
- {from: openid.deso-palaiseau.fr, to: "https://azerty.fil.sand.auro.re:7443"}
sharing_sites:
- {from: share.deso-palaiseau.fr, folder: "/home/histausse/www/", user: histausse, group: histausse}
- {from: authority.deso-palaiseau.fr, folder: "/var/www/authority/", user: root, group: root}
- {from: authority-info-access.deso-palaiseau.fr, folder: "/var/www/authority_info_access/", user: root, group: root}
- {from: share.deso-palaiseau.fr, folder: "/home/histausse/www", user: histausse, group: histausse}
- {from: authority.deso-palaiseau.fr, folder: "/var/www/authority", user: root, group: root}
- {from: authority-info-access.deso-palaiseau.fr, folder: "/var/www/authority_info_access", user: root, group: root}

@ -27,7 +27,8 @@ server {
error_log /var/log/nginx/{{ item.from }}_error.log;
location / {
alias {{ item.folder }};
root {{ item.folder }};
try_files $uri $uri.html 404;
}
}

Loading…
Cancel
Save