add auto cast file->file.html
This commit is contained in:
parent
414272d7ce
commit
6698927b88
2 changed files with 5 additions and 4 deletions
|
@ -7,6 +7,6 @@ reverse_proxy_sites:
|
||||||
- {from: openid.deso-palaiseau.fr, to: "https://azerty.fil.sand.auro.re:7443"}
|
- {from: openid.deso-palaiseau.fr, to: "https://azerty.fil.sand.auro.re:7443"}
|
||||||
|
|
||||||
sharing_sites:
|
sharing_sites:
|
||||||
- {from: share.deso-palaiseau.fr, folder: "/home/histausse/www/", user: histausse, group: histausse}
|
- {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.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: 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;
|
error_log /var/log/nginx/{{ item.from }}_error.log;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
alias {{ item.folder }};
|
root {{ item.folder }};
|
||||||
|
try_files $uri $uri.html 404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue