openpunk-ansible/templates/nginx/site.conf

13 lines
295 B
Plaintext
Raw Normal View History

2022-05-30 15:46:36 +00:00
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";
2022-05-30 15:46:36 +00:00
try_files $uri $uri/ =404;
}
}