aboutsummaryrefslogtreecommitdiffstats
path: root/gitolite-cgit/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gitolite-cgit/entrypoint.sh')
-rwxr-xr-xgitolite-cgit/entrypoint.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/gitolite-cgit/entrypoint.sh b/gitolite-cgit/entrypoint.sh
index e82154c..c1ec87f 100755
--- a/gitolite-cgit/entrypoint.sh
+++ b/gitolite-cgit/entrypoint.sh
@@ -328,17 +328,6 @@ EOF
access_log off;
error_log off;
- # Aditional Security Headers
-
- # ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
- add_header X-Frame-Options DENY always;
-
- # ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
- add_header X-Content-Type-Options nosniff always;
-
- # ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
- add_header X-Xss-Protection "1; mode=block" always;
-
root /usr/share/webapps/cgit;
try_files \$uri @cgit;