Merge pull request #27 from YunoHost-Apps/fix-http-redirect

[fix] HTTP redirection support suburl
This commit is contained in:
ljf (zamentur) 2022-03-23 15:18:56 +01:00 committed by GitHub
commit e17fa2d824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
location YNH_LOCATION {
return 301 YNH_REDIRECT_PATH;
}
return 301 YNH_REDIRECT_PATH$request_uri;
}

View file

@ -1,3 +1,3 @@
location YNH_LOCATION {
return 302 YNH_REDIRECT_PATH;
}
return 302 YNH_REDIRECT_PATH$request_uri;
}