Skip to content

Commit

Permalink
Merge pull request #2394 from chef/rajeshpaul38/add-nginx-permission-…
Browse files Browse the repository at this point in the history
…policy/2298

Add permission policy for nginx to block camera and payment
  • Loading branch information
saghoshprogress authored Nov 25, 2021
2 parents 3440347 + a72f55d commit ff7f808
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ http {
server_tokens off;
more_clear_headers Server;
add_header X-Clacks-Overhead "GNU Terry Pratchett";
add_header Permissions-Policy "camera 'none'; payment 'none';";

sendfile <%= @nginx['sendfile'] %>;
tcp_nopush on;
Expand Down

0 comments on commit ff7f808

Please sign in to comment.