drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [drill] ihuzenko commented on a change in pull request #2025: DRILL-7626: Add ability to set HTTP response headers
Date Mon, 16 Mar 2020 09:08:53 GMT
ihuzenko commented on a change in pull request #2025: DRILL-7626: Add ability to set HTTP response
headers
URL: https://github.com/apache/drill/pull/2025#discussion_r392871536
 
 

 ##########
 File path: distribution/src/main/resources/drill-override-example.conf
 ##########
 @@ -176,6 +176,15 @@ drill.exec: {
           validatePeerCerts: false,
           # true if SSL wants client authentication.
           wantClientAuth: false
+        },
+        response: {
+          # any response headers with constant values may be configured like this
+          headers: {
+            "X-XSS-Protection": "1; mode=block",
+            "X-Content-Type-Options": "nosniff",
+            "Strict-Transport-Security": "max-age=31536000;includeSubDomains",
+            "Content-Security-Policy": "default-src https:; script-src 'unsafe-inline' https:;
style-src 'unsafe-inline' https:; font-src data: https:; img-src data: https:"
 
 Review comment:
   Thanks for noticing it. Created new ticket [DRILL-7642](https://issues.apache.org/jira/browse/DRILL-7642).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message