Skip to content

Commit

Permalink
add permission policy for nginx to block camera and payment
Browse files Browse the repository at this point in the history
Signed-off-by: Rajesh Paul <rajesh.paul@progress.com>
  • Loading branch information
RajeshPaul38 committed Nov 23, 2021
1 parent ae8768b commit a72f55d
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 a72f55d

Please sign in to comment.