]> code.delx.au - monosys/blob - etc/nginx/snippets/standard-server.conf
notes: fix raspi install notes, also @home -> @username
[monosys] / etc / nginx / snippets / standard-server.conf
1 location ~ /\.git/ {
2 return 403;
3 }
4
5
6 location = /favicon.ico {
7 log_not_found off;
8 access_log off;
9 }
10
11 location ~ /apple-touch-icon[^/]*.png {
12 log_not_found off;
13 access_log off;
14 }
15
16 location = /robots.txt {
17 log_not_found off;
18 access_log off;
19 }
20
21 location /.well-known/acme-challenge {
22 alias /home/letsencrypt/web-acme-challenge;
23 auth_basic off;
24 }
25
26 location /healthcheck {
27 return 200;
28 }