Skip to content

Commit 9dd8dcd

Browse files
authored
Remove legacy header X-Download-Options in nginx.conf examples (nextcloud#2077)
The header was relevant for Internet Explorer only and was removed from the nextcloud/server code: nextcloud/server@ea0e45d Signed-off-by: Andrés Maldonado <[email protected]>
1 parent 2d39d9d commit 9dd8dcd

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ http {
6363
# HTTP response headers borrowed from Nextcloud `.htaccess`
6464
add_header Referrer-Policy "no-referrer" always;
6565
add_header X-Content-Type-Options "nosniff" always;
66-
add_header X-Download-Options "noopen" always;
6766
add_header X-Frame-Options "SAMEORIGIN" always;
6867
add_header X-Permitted-Cross-Domain-Policies "none" always;
6968
add_header X-Robots-Tag "noindex, nofollow" always;

.examples/docker-compose/insecure/postgres/fpm/web/nginx.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ http {
6363
# HTTP response headers borrowed from Nextcloud `.htaccess`
6464
add_header Referrer-Policy "no-referrer" always;
6565
add_header X-Content-Type-Options "nosniff" always;
66-
add_header X-Download-Options "noopen" always;
6766
add_header X-Frame-Options "SAMEORIGIN" always;
6867
add_header X-Permitted-Cross-Domain-Policies "none" always;
6968
add_header X-Robots-Tag "noindex, nofollow" always;

.examples/docker-compose/with-nginx-proxy/mariadb/fpm/web/nginx.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ http {
6363
# HTTP response headers borrowed from Nextcloud `.htaccess`
6464
add_header Referrer-Policy "no-referrer" always;
6565
add_header X-Content-Type-Options "nosniff" always;
66-
add_header X-Download-Options "noopen" always;
6766
add_header X-Frame-Options "SAMEORIGIN" always;
6867
add_header X-Permitted-Cross-Domain-Policies "none" always;
6968
add_header X-Robots-Tag "noindex, nofollow" always;

.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ http {
6363
# HTTP response headers borrowed from Nextcloud `.htaccess`
6464
add_header Referrer-Policy "no-referrer" always;
6565
add_header X-Content-Type-Options "nosniff" always;
66-
add_header X-Download-Options "noopen" always;
6766
add_header X-Frame-Options "SAMEORIGIN" always;
6867
add_header X-Permitted-Cross-Domain-Policies "none" always;
6968
add_header X-Robots-Tag "noindex, nofollow" always;

0 commit comments

Comments
 (0)