mirror of
https://github.com/mtan93/install-nextcloud.git
synced 2026-03-08 05:31:52 +00:00
Changes to /etc/nginx/header.conf
add_header Referrer-Policy "no-referrer" always;
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
# https://www.c-rieger.de
|
||||
# https://github.com/riegercloud
|
||||
# INSTALL-NEXTCLOUDARM64.SH
|
||||
# Version 4.0 ARM64
|
||||
# July, 26th, 2018
|
||||
# Version 4.1 ARM64
|
||||
# changes to /etc/nginx/header.conf
|
||||
# July, 27th, 2018
|
||||
############################################
|
||||
# Ubuntu 18.04 LTS ARM64 - Nextcloud 13.0.5
|
||||
# ready for Nextcloud 14 already!
|
||||
############################################
|
||||
#!/bin/bash
|
||||
###global function to update and cleanup the environment
|
||||
@@ -465,7 +467,7 @@ add_header X-Download-Options noopen;
|
||||
add_header X-Permitted-Cross-Domain-Policies none;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header Referrer-Policy "same-origin" always;
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
EOF
|
||||
touch /etc/nginx/optimization.conf
|
||||
cat <<EOF >/etc/nginx/optimization.conf
|
||||
|
||||
Reference in New Issue
Block a user