Commit 15e444b37b8259d12e366731f835c2f874218061

Authored by zamentur
1 parent b11efc61c0
Exists in master

[fix] Avoid to get a 404 error on logout

This change allows to access to an URL without the end slash (like https//domain.tld/owncloud ). Owncloud calls this URL on logout.

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

1   -location PATHTOCHANGE/ {
  1 +location PATHTOCHANGE {
2 2 alias ALIASTOCHANGE;
3 3 if ($scheme = http) {
4 4 rewrite ^ https://$server_name$request_uri? permanent;