Skip to content

Commit

Permalink
Update install-service.sh
Browse files Browse the repository at this point in the history
Fix X-Robots-Tag issue from NC 25.0.5/26.0.0
  • Loading branch information
DerFossiBaer authored Apr 8, 2023
1 parent 0855d37 commit 20a158c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextcloud/install-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ add_header X-Content-Type-Options "nosniff" always;
add_header X-Download-Options "noopen" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "none" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-XSS-Protection "1; mode=block" always;
fastcgi_hide_header X-Powered-By;
fastcgi_read_timeout 3600;
Expand Down

0 comments on commit 20a158c

Please sign in to comment.