mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Quickfix for path traversal issue
This commit is contained in:
parent
a937450910
commit
cc08c70224
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ location = /.well-known/caldav {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ^~ __PATH__ {
|
location ^~ __PATH__ {
|
||||||
alias __FINALPATH__/;
|
alias __FINALPATH__;
|
||||||
|
|
||||||
if ($scheme = http) {
|
if ($scheme = http) {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
|
|
Loading…
Add table
Reference in a new issue