Skip to content

Commit ca0449d

Browse files
authored
Merge pull request hestiacp#2290 from jaapmarcus/allow-nextcloud-split-files
Allow nextcloud / owncloud to access .file to split files
2 parents 47fd382 + 9836a62 commit ca0449d

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

install/deb/templates/web/nginx/caching.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ server {
5353
proxy_pass https://%ip%:%web_ssl_port%;
5454
}
5555

56-
location ~ /\.(?!well-known\/) {
56+
location ~ /\.(?!well-known\/|file) {
5757
deny all;
5858
return 404;
5959
}

install/deb/templates/web/nginx/caching.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ server {
4848
proxy_pass http://%ip%:%web_port%;
4949
}
5050

51-
location ~ /\.(?!well-known\/) {
51+
location ~ /\.(?!well-known\/|file) {
5252
deny all;
5353
return 404;
5454
}

install/deb/templates/web/nginx/default.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ server {
3333
proxy_pass https://%ip%:%web_ssl_port%;
3434
}
3535

36-
location ~ /\.(?!well-known\/) {
36+
location ~ /\.(?!well-known\/|file) {
3737
deny all;
3838
return 404;
3939
}

install/deb/templates/web/nginx/default.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ server {
2828
proxy_pass http://%ip%:%web_port%;
2929
}
3030

31-
location ~ /\.(?!well-known\/) {
31+
location ~ /\.(?!well-known\/|file) {
3232
deny all;
3333
return 404;
3434
}

install/deb/templates/web/nginx/hosting.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ server {
3333
proxy_pass https://%ip%:%web_ssl_port%;
3434
}
3535

36-
location ~ /\.(?!well-known\/) {
36+
location ~ /\.(?!well-known\/|file) {
3737
deny all;
3838
return 404;
3939
}

install/deb/templates/web/nginx/hosting.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ server {
2828
proxy_pass http://%ip%:%web_port%;
2929
}
3030

31-
location ~ /\.(?!well-known\/) {
31+
location ~ /\.(?!well-known\/|file) {
3232
deny all;
3333
return 404;
3434
}

install/deb/templates/web/nginx/php-fpm/owncloud.stpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ server {
4242
deny all;
4343
}
4444

45-
location ~ /\.(?!well-known\/) {
45+
location ~ /\.(?!well-known\/|file) {
4646
deny all;
4747
return 404;
4848
}

install/deb/templates/web/nginx/php-fpm/owncloud.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ server {
3737
deny all;
3838
}
3939

40-
location ~ /\.(?!well-known\/) {
40+
location ~ /\.(?!well-known\/|file) {
4141
deny all;
4242
return 404;
4343
}

0 commit comments

Comments
 (0)