openpunk-ansible/templates/nginx/site.conf
CPunch cad90e7c89 privacy: set Referrer-Policy: no-referrer
- prevents third parties i link to from knowing you came from my site
2022-09-02 23:45:41 -05:00

13 lines
295 B
Plaintext

server {
server_name {{ domain }};
listen 80;
root /var/www/{{ domain }}/public;
index index.html index.htm;
location / {
add_header Permissions-Policy interest-cohort=();
add_header Referrer-Policy: "no-referrer";
try_files $uri $uri/ =404;
}
}