nginx-proxy-manager/rootfs/usr/local/nginx/conf/conf.d/include/always.conf
renovate[bot] 132623891a
dep updates/see description
little php design preview (dead host/default page/fancyindex)
improved "exploit blocking"
fancyindex now default off
block access to .git folders/files
change NGINX_404_REDIRECT default to false
2024-06-09 15:20:13 +02:00

37 lines
473 B
Text

location /.well-known/acme-challenge/ {
auth_basic off;
auth_request off;
allow all;
root /tmp/acme-challenge;
}
location = /.well-known/acme-challenge/ {
return 404;
}
location = /fancyindex {
return 301 /fancyindex/;
}
location /fancyindex/ {
alias /html/fancyindex/;
}
location ~ /\.ht {
deny all;
}
location ~ /\.git {
deny all;
}
if ($blocked_user_agent) {
return 403;
}
if ($blocked_query_string) {
return 403;
}